[−][src]Function simplestcrypt::deserialize_and_decrypt
pub fn deserialize_and_decrypt(
password: &[u8],
serialized: &Vec<u8>
) -> Result<Vec<u8>, DecryptError>
Assumes that the given bytes is a Bincode serialized Encrypted structure, and first deserializes it and then tries to decrypt it using the given password bytes
Password cannot be longer than 32 bytes