pub fn decrypt(
encrypted: &[u8],
key: &EncryptionKey,
) -> Result<Vec<u8>, CryptoError>Expand description
Decrypt with a provided key (non-CHK)
Input: [12-byte nonce][ciphertext][auth tag]
pub fn decrypt(
encrypted: &[u8],
key: &EncryptionKey,
) -> Result<Vec<u8>, CryptoError>Decrypt with a provided key (non-CHK)
Input: [12-byte nonce][ciphertext][auth tag]