Skip to main content

Module encryption

Module encryption 

Source

Functionsยง

decrypt
Decrypts hex-encoded nonce || ciphertext produced by encrypt.
encrypt
Encrypts plaintext with AES-256-GCM. Returns nonce || ciphertext as hex.