[][src]Module dup_crypto::keys::ed25519

Provide wrappers around ed25519 keys and signatures

Key pairs can be generated with KeyPairGenerator.

Structs

Ed25519KeyPair

Store a ed25519 cryptographic key pair (PublicKey + PrivateKey)

KeyPairFromSaltedPasswordGenerator

Keypair generator with given parameters for scrypt keypair function.

KeyPairFromSeed32Generator

Keypair generator with seed

PublicKey

Store a Ed25519 public key.

SaltedPassword

Salted password

Signator

Store a ed25519 cryptographic signator

Signature

Store a ed25519 signature.

Constants

PUBKEY_SIZE_IN_BYTES

Size of a public key in bytes

SIG_SIZE_IN_BYTES

constf a signature in bytes