Portability | Excellent |
---|---|
Stability | Stable |
Maintainer | Vincent Hanquez <vincent@snarc.org> |
Safe Haskell | None |
- data Params = Params {}
- newtype PublicNumber = PublicNumber Integer
- newtype PrivateNumber = PrivateNumber Integer
- newtype SharedKey = SharedKey Integer
Documentation
Represent Diffie Hellman parameters namely P (prime), and G (generator).
newtype PublicNumber Source
Represent Diffie Hellman public number Y.
newtype PrivateNumber Source
Represent Diffie Hellman private number X.