Crate xor_cipher

Source
Expand description

Simple, reusable and optimized XOR ciphers in Rust.

Functionsยง

cyclic_xor
Applies XOR operation (byte ^ key_byte) for each byte in data and key_byte in key, which is cycled to fit the length of the data.
xor
Applies XOR operation (byte ^ key) for each byte in data.