18 releases

Uses old Rust 2015

0.7.0 Nov 1, 2019
0.6.1 Dec 14, 2018
0.6.0 Nov 3, 2018
0.3.7 Jan 30, 2018
0.1.1 Jul 4, 2015

#56 in Cryptography

Download history 362124/week @ 2024-06-09 327227/week @ 2024-06-16 353198/week @ 2024-06-23 319239/week @ 2024-06-30 366743/week @ 2024-07-07 331799/week @ 2024-07-14 354013/week @ 2024-07-21 354275/week @ 2024-07-28 358715/week @ 2024-08-04 376626/week @ 2024-08-11 404883/week @ 2024-08-18 427703/week @ 2024-08-25 404437/week @ 2024-09-01 431465/week @ 2024-09-08 383381/week @ 2024-09-15 422575/week @ 2024-09-22

1,657,519 downloads per month
Used in 1,566 crates (500 directly)

Apache-2.0/MIT

18KB
370 lines

MD5 Package Documentation Build

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.

No runtime deps

Features