obfustr 0.1.2

compile-time obfuscation of string literals (also byte and C strings)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use assert2::assert;

#[test]
fn obfuscate_str() {
	assert!("hello!" == obfustr::obfuscate!("hello!"));
}

#[test]
fn obfuscate_byte_str() {
	assert!(b"hello!" == obfustr::obfuscate!(b"hello!"));
}

#[test]
fn obfuscate_cstr() {
	assert!(c"hello!" == obfustr::obfuscate!(c"hello!"));
}