[][src]Macro obfstr::obflocal

macro_rules! obflocal {
    ($string:literal) => { ... };
    (L$string:literal) => { ... };
}

Compiletime string literal obfuscation, returns the decrypted ObfBuffer for assignment to local variable.

Prefix the string literal with L to get an UTF-16 obfuscated string.

let str_buf = obfstr::obflocal!("Hello 🌍");
assert_eq!(str_buf.as_str(), "Hello 🌍");