decrypt

Function decrypt 

pub fn decrypt<D>(
    encrypted: D,
    key: DataKey,
) -> Result<Vec<u8>, RecordDecryptError>
where D: Decryptable,