Module signatory::ed25519[][src]

Ed25519: Schnorr signatures using the twisted Edwards form of Curve25519

Described in RFC 8032: https://tools.ietf.org/html/rfc8032

Structs

DefaultVerifier

Ed25519 verifier provider for ed25519-dalek

PublicKey

Ed25519 public keys

Seed

Ed25519 seeds: derivation secrets for Ed25519 private scalars/nonce prefixes

Signature

Ed25519 signatures

Constants

PUBLIC_KEY_SIZE

Size of an Ed25519 public key in bytes (256-bits)

SEED_SIZE

Size of the "seed" value for an Ed25519 private key

SIGNATURE_SIZE

Size of an Ed25519 signature in bytes (512-bits)

TEST_VECTORS

Ed25519 test vectors (from RFC 8032, converted to Rust bytestring literals)

Traits

FromSeed

Trait for Ed25519 signers that can be initialized from a seed value

Signer

Trait for Ed25519 signers (object-safe)

Verifier

Verifier for Ed25519 signatures