md5 (0.7.0)
Published 2026-03-26 11:00:21 +00:00 by siennathesane
Installation
[registry]
default = "gitea"
[registries.gitea]
index = "sparse+ " # Sparse index
# index = " " # Git
[net]
git-fetch-with-cli = truecargo add md5@0.7.0About this package
The package provides the MD5 hash function.
MD5

The package provides the MD5 hash function.
Example
let digest = md5::compute(b"abcdefghijklmnopqrstuvwxyz");
assert_eq!(format!("{:x}", digest), "c3fcd3d76192e4007dfb496cca67e13b");
Security Warning
The package is provided for the purposes of interoperability with protocols and systems that mandate the use of MD5. However, MD5 should be considered cryptographically broken and unsuitable for further use. Collision attacks against MD5 are both practical and trivial, and theoretical attacks against MD5 have been found.
RFC6151 advises no new protocols to be designed with any MD5-based constructions, including HMAC-MD5.
Contribution
Your contribution is highly appreciated. Do not hesitate to open an issue or a pull request. Note that any contribution submitted for inclusion in the project will be licensed according to the terms given in LICENSE.md.
Keywords
checksum
digest
hash
md5
Details
2026-03-26 11:00:21 +00:00
Assets (1)
Versions (1)
View all
Cargo
0
Ivan Ukhov <ivan.ukhov@gmail.com>
Kamal Ahmad <shibe@openmailbox.org>
Konstantin Stepanov <milezv@gmail.com>
Lukas Kalbertodt <lukas.kalbertodt@gmail.com>
Nathan Musoke <nathan.musoke@gmail.com>
Scott Mabin <scott@mabez.dev>
Tony Arcieri <bascule@gmail.com>
Wim de With <register@dewith.io>
Yosef Dinerstein <yosefdi@gmail.com>
Apache-2.0/MIT
6.5 KiB
md5-0.7.0.crate
6.5 KiB
0.7.0
2026-03-26