litcrypt 0.4.0

Let's encrypt your string statically during compile time
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Compile this example code and check the compiled output with:
// $ strings ./target/debug/examples/simple | grep Voldemort
// the encrypted one will not print anything (just blank).

#[macro_use]
extern crate litcrypt;

use_litcrypt!();

fn main() {
    // uncomment this for plain (non pre-compile-encrypted string)
    // println!("his name is: {}", "Voldemort");
    println!("his name is: {}", lc!("Voldemort"));
}