1 stable release

Uses new Rust 2024

1.0.0 Jul 15, 2025

#476 in Compression

Download history 262/week @ 2025-08-06 100/week @ 2025-08-13 96/week @ 2025-08-20 36/week @ 2025-08-27 64/week @ 2025-09-03 31/week @ 2025-09-10 135/week @ 2025-09-17 840/week @ 2025-09-24 281/week @ 2025-10-01 104/week @ 2025-10-08 97/week @ 2025-10-15 160/week @ 2025-10-22 283/week @ 2025-10-29 154/week @ 2025-11-05 105/week @ 2025-11-12 107/week @ 2025-11-19

684 downloads per month
Used in asic-rs

MIT license

7KB
82 lines

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/");

Dependencies

~19KB