License | BSD-style |
---|---|
Maintainer | Vincent Hanquez <vincent@snarc.org> |
Stability | Stable |
Portability | Excellent |
Safe Haskell | None |
Language | Haskell98 |
- 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.