pub fn encrypt(key: &[u8], plaintext: &[u8]) -> Result<Vec<u8>>
Encrypt plaintext with a 32-byte key.
plaintext
key
Returns the nonce prepended to the ciphertext (nonce || ciphertext).