Crate xor_cipher
source ·Expand description
Simple, reusable and optimized XOR ciphers in Rust.
Functions§
- Applies XOR operation (
byte ^ key_byte
) for eachbyte
indata
andkey_byte
inkey
, which is cycled to fit the length of thedata
. - Applies XOR operation (
byte ^ key
) for eachbyte
indata
.