Macro include_crypt_codegen::encrypt_xor [−][src]
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");