/// Decrypts input bytes where each byte is XOR'ed with the previous encrypted byte.
Decrypts input bytes where each byte is XOR'ed with the previous encrypted byte.
Decrypts input bytes where each byte is XOR ' ed with the previous encrypted byte .
pub fn decrypt(bytes: &[u8]) -> Vec<u8> {
    let mut key = INITIAL_KEY;
    bytes
        .iter()
        .map(|byte| {
            let xor = *byte ^ key;
            key = *byte;
            xor
        })
        .collect()
}
pub fn decrypt ( bytes : & [ u8 ] ) -> Vec < u8 > { let mut key = INITIAL_KEY ; bytes . iter ( ) . map ( | byte | { let xor = * byte ^ key ; key = * byte ; xor } ) . collect ( ) }
Decrypts input bytes where each byte is XOR'ed with the previous encrypted byte.
Decrypts input bytes where each byte is XOR ' ed with the previous encrypted byte .
bytes
&[u8]