6 lines
170 B
Rust
6 lines
170 B
Rust
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()))
|
|
}
|