crypto-pubkey-types-0.4.3: Generic cryptography Public keys algorithm types

LicenseBSD-style
MaintainerVincent Hanquez <vincent@snarc.org>
StabilityStable
PortabilityExcellent
Safe HaskellNone
LanguageHaskell98

Crypto.Types.PubKey.DH

Description

 

Synopsis

Documentation

data Params

Represent Diffie Hellman parameters namely P (prime), and G (generator).

Constructors

Params 

newtype PublicNumber

Represent Diffie Hellman public number Y.

Constructors

PublicNumber Integer 

newtype SharedKey

Represent Diffie Hellman shared secret.

Constructors

SharedKey Integer