13 releases

0.3.8 Aug 18, 2018
0.3.7 Jan 30, 2018
0.3.6 Nov 9, 2017
0.3.5 Jun 12, 2017
0.1.1 Jul 4, 2015

#8 in Algorithms

Download history 4288/week @ 2018-07-23 5149/week @ 2018-07-30 4989/week @ 2018-08-06 5585/week @ 2018-08-13 5539/week @ 2018-08-20 6598/week @ 2018-08-27 6283/week @ 2018-09-03 8000/week @ 2018-09-10 5895/week @ 2018-09-17 6187/week @ 2018-09-24 6480/week @ 2018-10-01 7633/week @ 2018-10-08 6712/week @ 2018-10-15

22,775 downloads per month
Used in 236 crates (46 directly)

Apache-2.0/MIT

17KB
363 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