Registry / crypto / md-5
library0.11.0rscratesunverified

MD5 hash function

# Cargo.toml [dependencies] md-5 = "0.11.0"
INSTALL
IMPORT
SIG · MD-5
M
md-5
cryptorustv0.11.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Md5
use md5::Md5;

Compute an MD5 hash.

use md5::Md5; use digest::Digest; let mut hasher = Md5::new(); hasher.update(b"hello"); let result = hasher.finalize(); println!("{:x}", result);
Debug
Known issues
gotchaMD5 is cryptographically broken and unsuitable for security purposes.
fix
Use SHA-256 or stronger hash functions for security.
affects: *
Upgrade
Version history
0.11.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
md-5 — cargo add md-5 · libregistry