Macro include_crypt_codegen::encrypt_aes[][src]

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

Encrypts a file with a random or custom key.

Example

Custom key

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

Random key

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