Skip to main content

decrypt_for_cipher

Function decrypt_for_cipher 

Source
pub fn decrypt_for_cipher(
    cipher: CipherKind,
    key: &VaultKey,
    nonce_bytes: &[u8],
    ciphertext: &[u8],
) -> SafeResult<Vec<u8>>