[dependencies]
chksum-md5 = "0.0.0"
use chksum_md5 as md5;
let file = File::open(path)?;
let digest = md5::chksum(file)?;
assert_eq!(
digest.to_hex_lowercase(),
"5c71dbb287630d65ca93764c34d9aa0d"
);
如果文章或资源对您有帮助,欢迎打赏作者。一路走来,感谢有您!
txttool.com 说一段 esp56物联 周易算命 查询128 IP查询 电脑硬件工具