Encrypt and authenticate plaintext with a 256-bit key.
plaintext
key
A random 24-byte nonce is generated internally and prepended to the output — callers never touch nonces.
Optional
Encrypt and authenticate
plaintextwith a 256-bitkey.A random 24-byte nonce is generated internally and prepended to the output — callers never touch nonces.