pub fn encrypt(password: &[u8], bytes: &[u8]) -> Result<Encrypted, EncryptError>
Expand description

Encrypts the given bytes using a random nonce using Aes128SivAed Password cannot be longer than 32 bytes