md5crypt

Crates.iomd5crypt
lib.rsmd5crypt
version1.0.0
created_at2025-07-15 06:45:54.589864+00
updated_at2025-07-15 06:45:54.589864+00
descriptionPure Rust implementation of the md5crypt password hashing function.
homepagehttps://sr.ht/~oopsbagel/md5crypt-rs/
repositoryhttps://git.sr.ht/~oopsbagel/md5crypt-rs
max_upload_size
id1752683
size8,293
(oopsbagel)

documentation

README

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/");
Commit count: 0

cargo fmt