ModuleHsOpenSSL-0.11.7.10Haskell2010
OpenSSL.DH
Diffie-Hellman key exchange
- 3 types
- 7 values
- PackageHsOpenSSL-0.11.7.10
- 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.