Files
alkane-toolkit/vendor/md5crypt/README.md
T

704 B

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