Optional pub: DilithiumPublicKeyPrivate pubPrivate secretThe private key
The public key
Signs a message
The signature
The message
Verifies a signature
True only if the signature is valid
The message
The signature
Static fromPacks keys into a key pair
The private key
The public key
Static fromCreates a key pair from a private key
The key pair
Private key
Static generateGenerates a random keypair
The security level
Optional seed: Uint8ArrayThe seed for the generation of the key pair (if not prodiced, a random seed is generated)
Generated using TypeDoc
Key pair (private + public)