pub fn decrypt_bytes(
ciphertext: &[u8],
key: &[u8; 32],
nonce: &[u8; 24],
) -> Result<(SecureBytes, Algorithm), CryptError>Expand description
Decrypts the given ciphertext into an insecure byte vector.
pub fn decrypt_bytes(
ciphertext: &[u8],
key: &[u8; 32],
nonce: &[u8; 24],
) -> Result<(SecureBytes, Algorithm), CryptError>Decrypts the given ciphertext into an insecure byte vector.