pub fn decrypt_with_header(bytes: &[u8]) -> Vec<u8> {
    decrypt(
        bytes
            .iter()
            .skip(4)
            .copied()
            .collect::<Vec<u8>>()
            .as_slice(),
    )
}
/// Decrypts input bytes that has a 4 bytes big-endian length header where each byte is
/// XOR'ed with the previous encrypted byte.
Decrypts input bytes that has a 4 bytes big-endian length header where each byte is
XOR'ed with the previous encrypted byte.
Decrypts input bytes that has a 4 bytes big - endian length header where each byte is XOR ' ed with the previous encrypted byte .
pub fn decrypt_with_header(bytes: &[u8]) -> Vec<u8> {
    decrypt(
        bytes
            .iter()
            .skip(4)
            .copied()
            .collect::<Vec<u8>>()
            .as_slice(),
    )
}
pub fn decrypt_with_header ( bytes : & [ u8 ] ) -> Vec < u8 > { decrypt ( bytes . iter ( ) . skip ( 4 ) . copied ( ) . collect :: < Vec < u8 > > ( ) . as_slice ( ) , ) }
Decrypts input bytes that has a 4 bytes big-endian length header where each byte is
XOR'ed with the previous encrypted byte.
Decrypts input bytes that has a 4 bytes big - endian length header where each byte is XOR ' ed with the previous encrypted byte .
bytes
&[u8]
bytes
&[u8]