Skip to main content

decrypt

Function decrypt 

Source
pub fn decrypt(
    password: &str,
    salt: &[u8; 32],
    ciphertext: Vec<u8>,
) -> Result<Vec<u8>, Error>
Expand description

Given a password, salt, and some ciphertext, decrypts the ciphertext.