License | BSD-style |
---|---|
Maintainer | John Galt <jgalt@centromere.net> |
Stability | experimental |
Portability | unknown |
Safe Haskell | None |
Language | Haskell2010 |
Ed448 support
- data SecretKey
- data PublicKey
- data DhSecret
- dhSecret :: ByteArrayAccess b => b -> CryptoFailable DhSecret
- publicKey :: ByteArrayAccess bs => bs -> CryptoFailable PublicKey
- secretKey :: ByteArrayAccess bs => bs -> CryptoFailable SecretKey
- dh :: PublicKey -> SecretKey -> DhSecret
- toPublic :: SecretKey -> PublicKey
Documentation
A Ed448 Secret key
A Ed448 public key
A Ed448 Diffie Hellman secret related to a public key and a secret key.
Smart constructors
dhSecret :: ByteArrayAccess b => b -> CryptoFailable DhSecret Source
Create a DhSecret from a bytearray object
publicKey :: ByteArrayAccess bs => bs -> CryptoFailable PublicKey Source
Try to build a public key from a bytearray
secretKey :: ByteArrayAccess bs => bs -> CryptoFailable SecretKey Source
Try to build a secret key from a bytearray