OneLauncher-Cracked/apps/testing/examples/murmur2_hash.rs
2024-12-08 15:27:19 +01:00

14 lines
No EOL
213 B
Rust

use onelauncher::utils::crypto;
const CONTENT: &str = "
this is my
text content
";
fn main() {
let hash = crypto::murmur2(CONTENT.as_bytes());
dbg!(hash);
dbg!(hash as u64);
assert_eq!(hash, 661_461_369);
}