[][src]Function simplestcrypt::decrypt

pub fn decrypt(
    password: &[u8],
    encrypted: &Encrypted
) -> Result<Vec<u8>, DecryptError>

Decrypts an Encrypted structure using Aes128SivAead and returns a decrypted vector using the given password

Password cannot be longer than 32 bytes