Crate xor_cipher

source ·
Expand description

Simple, reusable and optimized XOR ciphers in Rust.

Functions§

  • 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.
  • Applies XOR operation (byte ^ key) for each byte in data.