Module crypto

Module crypto 

Source
Expand description

Functions for generating keys and nonces for use in API calls

Functionsยง

new_ed25519_keypair
Generate a new random Ed25519 signing keypair for signing API calls
new_keys
Generate a new random set of Nebula (Diffie-Hellman) and Ed25519 (API calls) keys for use in your client
new_nebula_keypair
Generate a new PEM-encoded Nebula keypair
new_x25519_keypair
Generate a new 32-byte X25519 keypair
nonce
Generates a 16-byte random nonce for use in API calls