decrypt_bytes

Function decrypt_bytes 

Source
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.