An Ed25519 Secret key
Modulecryptonite-0.30Haskell2010
Crypto.PubKey.Ed25519
Ed25519 support
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
- SourceEd25519.hs
An Ed25519 public key
Instances4Eq, Show, NFData, ByteArrayAccess
An Ed25519 signature
Instances4Eq, Show, NFData, ByteArrayAccess
Size constants
A public key is 32 bytes
A secret key is 32 bytes
A signature is 64 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