cryptonite-0.20: Cryptography Primitives sink

LicenseBSD-style
MaintainerJohn Galt <jgalt@centromere.net>
Stabilityexperimental
Portabilityunknown
Safe HaskellNone
LanguageHaskell2010

Crypto.PubKey.Ed448

Contents

Description

Ed448 support

Synopsis

Documentation

data DhSecret Source #

A Ed448 Diffie Hellman secret related to a public key and a secret key.

Smart constructors

dhSecret :: ByteArrayAccess b => b -> CryptoFailable DhSecret Source #

Create a DhSecret from a bytearray object

publicKey :: ByteArrayAccess bs => bs -> CryptoFailable PublicKey Source #

Try to build a public key from a bytearray

secretKey :: ByteArrayAccess bs => bs -> CryptoFailable SecretKey Source #

Try to build a secret key from a bytearray

methods

dh :: PublicKey -> SecretKey -> DhSecret Source #

Compute the Diffie Hellman secret from a public key and a secret key

toPublic :: SecretKey -> PublicKey Source #

Create a public key from a secret key