Macro encrypt_xor

Source
encrypt_xor!() { /* proc-macro */ }
Expand description

Encrypts a file with a random or custom key.

§Example

§Custom key

let (key, encrypted) = encrypt_xor!("src/lib.rs", 0xdeadbeef);

§Random key

let (key, encrypted) = encrypt_xor!("src/lib.rs");