Package ed25519 implements the Ed25519 signature algorithm.
PrivateKeySize is the size, in bytes, of private keys as used in this package.
PublicKeySize is the size, in bytes, of public keys as used in this package.
SeedSize is the size, in bytes, of private key seeds. These are the private key representations used by RFC 8032.
SignatureSize is the size, in bytes, of signatures generated and verified by this package.
NewKeyFromSeed calculates a private key and a public key from a seed. RFC 8032's private keys correspond to seeds in this package.
Sign signs the message with privateKey and returns the signature.
PrivateKey defines the Ed25519 private key.
XXX type PrivateKey [PrivateKeySize]byte
PublicKey defines the Ed25519 public key.
XXX type PublicKey [PublicKeySize]byte