Skip to main content

decrypt

Function decrypt 

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

Decrypt ciphertext produced by encrypt_strong or encrypt_weak (or any future variant) using the associated password.

The argon2 parameters and recipient count are read from the prepended header.