[][src]Module signatory::ed25519

Ed25519: Schnorr signatures using the twisted Edwards form of Curve25519

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

This module contains two convenience methods for signing and verifying Ed25519 signatures which work with any signer or verifier.

Structs

PublicKey

Ed25519 public keys

Seed

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

Signature

Ed25519 signature.

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

Length of an Ed25519 signature

TEST_VECTORS

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