muddy 0.3.2

A rust literal string obfuscation library.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use muddy::muddy;

// build with `cargo b --example simple`
// then search the binary for embedded strings:
// `strings target/debug/examples/simple | grep supersecret`
//
// only the non-obfuscated text will show up
fn main() {
    let non_obfuscated = "notsupersecret9001";
    let obfuscated = muddy!("supersecret42");
    println!("{}", non_obfuscated);
    println!("{}", obfuscated);
}