md5crypt 1.0.0

Pure Rust implementation of the md5crypt password hashing function.
Documentation
  • Coverage
  • 100%
    2 out of 2 items documented1 out of 2 items with examples
  • Size
  • Source code size: 7.82 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.11 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 14s Average build duration of successful builds.
  • all releases: 14s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • oopsbagel

Pure Rust implementation of the md5crypt password hashing function.

Security warning!

md5crypt is considered cryptographically broken and unsafe for use as a password scrambler. This crate is provided for interoperability with legacy systems only.

See the following links for more information:

Usage

use md5crypt::md5crypt;

let password = b"hunter2";
let salt = b"1234abcd";
assert_eq!(md5crypt(password, salt), b"$1$1234abcd$k941IFPqhCBpKvhOnZqRd/");