#md5 #nothing #read #fs #juxt #from-str

juxt_md5

just md5, nothing else

2 releases

0.1.1 Jan 25, 2024
0.1.0 Jan 25, 2024

#2 in #juxt

Custom license

9KB
138 lines

juxt_md5

Crates.io Version docs.rs

just md5, nothing else

Usage


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()));
}

External Reference

md5/rfc1321

No runtime deps