Module ed25519

Source
Expand description

Ed25519 threshold cryptography implementation.

Structs§

Ed25519
A threshold Ed25519 implementation that allows distributed key generation and signing.

Enums§

FullPrivateKey
A full private key for Ed25519 cryptographic operations. When using [Self::Raw] the 32 bytes are the private key itself. When using [Self::RFC8032] the secret is the first 32 bytes of the sha512 of the given 32 bytes (which are the key k in ed25519 (rfc8032)). the secret is then “clamped” to produce a valid ed25519 scalar.

Constants§

PUB_KEY_SIZE
The size of a Ed25519 public key in bytes.

Type Aliases§

Ed25519ExtendedPrivateKey
An extended private key for Ed25519 operations.
Ed25519ExtendedPublicKey
An extended public key for Ed25519 operations.
Ed25519PublicKey
A public key for Ed25519 cryptographic operations.
Ed25519SecretShare
A secret share for Ed25519 cryptographic operations.