[−][src]Function iop_keyvault::encrypt::decrypt
pub fn decrypt(
ciphertext: impl AsRef<[u8]>,
pw: impl AsRef<str>
) -> Result<Vec<u8>>
Decrypts the ciphertext with a password. The format of the ciphertext is defined by the [encrypt
] function. Only the matching password will
decrypt the ciphertext.