encrypt_aes

Macro encrypt_aes 

Source
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");