Crate vaz256

Crate vaz256 

Source

Structs§

PublicKey
Public key structure containing a 32-byte Shake256 hash
SecretKey
Secret key wrapper with automatic secure memory wiping
Signature
Complete signature containing both Dilithium signature and public key

Enums§

VAZ256Error
Possible errors that can occur during VAZ256 operations

Constants§

DILITHIUM5_PUBLIC_KEY_SIZE
DILITHIUM5_SIGNATURE_SIZE
PUBLIC_KEY_SIZE
SECRET_KEY_SIZE
Constants defining the sizes of various components
SIGNATURE_SIZE

Functions§

keygen
Generates a new keypair using system randomness
sign
Signs a message using the secret key
verify
Verifies a signature against a message and public key

Type Aliases§

VAZ256Result