Crates.io | juxt_md5 |
lib.rs | juxt_md5 |
version | 0.1.1 |
source | src |
created_at | 2024-01-25 10:37:43.250583 |
updated_at | 2024-01-25 10:43:27.22624 |
description | just md5, nothing else |
homepage | https://github.com/wolfired/juxt/tree/main/x/md5 |
repository | https://github.com/wolfired/juxt/tree/main/x/md5 |
max_upload_size | |
id | 1113647 |
size | 10,081 |
just md5, nothing else
use std::fs::read;
use std::str::FromStr;
use just_md5::Md5;
fn main() {
println!("{}", Md5::from_str("just_md5").unwrap());
println!("{}", Md5::from_vec(&mut read("path to a file").unwrap()));
}