obfstr
macro_rules! hash { ($s:expr) => { ... }; }
Compiletime string constant hash.
Helper macro guarantees compiletime evaluation of the string constant hash.
const STRING: &str = "Hello World"; assert_eq!(obfstr::hash!(STRING), 1481604729);