Function ubiq::decryption::decrypt
source · pub fn decrypt(c: &Credentials, ct: &[u8]) -> Result<Vec<u8>>
Expand description
Decrypt a single ciphertext
This function is equivalent to creating a new Decryption object
calling begin()
, update(pt)
, and end()
.