ModuleHsOpenSSL-0.11.7.11Haskell2010
OpenSSL.DH
Diffie-Hellman key exchange
Synopsis
- newtype DHP
- newtype DH
- data DHGen
- value genDHParams
- value getDHLength
- value checkDHParams
- value genDH
- value getDHParams
- value getDHPublicKey
- value computeDHKey
- PackageHsOpenSSL-0.11.7.11
- Exports10
- LanguageHaskell2010
- LicenceLicenseRef-PublicDomain
- SourceDH.hs
genDHParams gen n generates n-bit long DH parameters.
Get DH parameters length (in bits).
Check that DH parameters are coherent.
The first step of a key exchange. Public and private keys are generated.
Get parameters of a key exchange.
Get the public key.
Compute the shared key using the other party's public key.