An Ed448 Secret key
Modulecryptonite-0.30Haskell2010
Crypto.PubKey.Ed448
Ed448 support
Internally uses Decaf point compression to omit the cofactor and implementation by Mike Hamburg. Externally API and data types are compatible with the encoding specified in RFC 8032.
Contents
Synopsis
- newtype SecretKey
- newtype PublicKey
- newtype Signature
- value publicKeySize
- value secretKeySize
- value signatureSize
- value signature
- value publicKey
- value secretKey
- value toPublic
- value sign
- value verify
- value generateSecretKey
- Packagecryptonite-0.30
- Exports13
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceEd448.hs
An Ed448 public key
Instances4Eq, Show, NFData, ByteArrayAccess
An Ed448 signature
Instances4Eq, Show, NFData, ByteArrayAccess
Size constants
A public key is 57 bytes
A secret key is 57 bytes
A signature is 114 bytes
Smart constructors
Try to build a signature from a bytearray
Try to build a public key from a bytearray
Try to build a secret key from a bytearray
Methods
Create a public key from a secret key
Sign a message using the key pair
Verify a message
Generate a secret key