Crate winternitz

source ·

Modules

Structs

InvalidLengthError is raised when an argument to a function is of incorrect length.

Constants

The size (in bytes) of a private key
The size (in bytes) of a public key
The size (in bytes) of a signature

Functions

Generate a public key from private entropy privkey.
Sign a message msg with privkey, returning the signature.
Verify a signature sig of message msg from public key pubkey.