pub fn decrypt(cipher: &[u8], r: u16) -> (Vec<u8>, u16)Expand description
Decrypts cipher with the initial key r (decrypt); returns the plaintext
and the key for a subsequent decryption.
use fontoxide_misc::eexec::decrypt;
let (plain, r) = decrypt(b"\0\0asdadads asds\xb5", 12321);
assert_eq!(plain, b"0d\nh\x15\xe8\xc4\xb2\x15\x1d\x108\x1a<6\xa1");
assert_eq!(r, 36142);