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