pub fn decrypt(
cipher: Cipher,
key: &FileKey,
num: u32,
gen_nr: u16,
data: &[u8],
) -> DecryptedExpand description
Decrypts the string or stream data of object num gen (ISO 32000-1 §7.6.2 Algorithm 1 for
the per-object keys of RC4 and AES-128; AES-256 uses the file key itself).
Added in 0.2.0.