Structs§
- Public
Key - Public key structure containing a 32-byte Shake256 hash
- Secret
Key - Secret key wrapper with automatic secure memory wiping
- Signature
- Complete signature containing both Dilithium signature and public key
Enums§
- VAZ256
Error - Possible errors that can occur during VAZ256 operations
Constants§
- DILITHIU
M5_ PUBLIC_ KEY_ SIZE - DILITHIU
M5_ 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