jensmemesclient/tokencracker/src/lib.rs

7 lines
170 B
Rust
Raw Normal View History

2020-11-10 23:16:51 +01:00
pub mod api;
/// returns the md5 hash of the input string formatted as hex
pub fn hex_string_hash(s: &str) -> String {
format!("{:x}", md5::compute(s.as_bytes()))
}