Skip to main content

Module constants

Module constants 

Source
Expand description

Common constants such as buffer sizes for keypairs and signatures.

Constants§

EXPANDED_SECRET_KEY_KEY_LENGTH 🔒
The length of the “key” portion of an “expanded” ed25519 secret key, in bytes.
EXPANDED_SECRET_KEY_LENGTH
The length of an “expanded” ed25519 key, ExpandedSecretKey, in bytes.
EXPANDED_SECRET_KEY_NONCE_LENGTH 🔒
The length of the “nonce” portion of an “expanded” ed25519 secret key, in bytes.
KEYPAIR_LENGTH
The length of an ed25519 Keypair, in bytes.
PUBLIC_KEY_LENGTH
The length of an ed25519 PublicKey, in bytes.
SECRET_KEY_LENGTH
The length of a ed25519 SecretKey, in bytes.
SIGNATURE_LENGTH
The length of a ed25519 Signature, in bytes.