Registry / crypto / md4
library0.11.0rscratesunverified

MD4 hash function implementation.

# Cargo.toml [dependencies] md4 = "0.11.0"
INSTALL
IMPORT
SIG · MD4
M
md4
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.

Md4
use md4::Md4;

Compute the MD4 hash of a byte string.

use md4::{Md4, Digest}; fn main() { let mut hasher = Md4::new(); hasher.update(b"hello world"); let result = hasher.finalize(); println!("{:x}", result); }
Debug
Known issues
gotchaMD4 is cryptographically broken and should not be used for security purposes.
fix
Use a secure hash like SHA-256 instead.
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
md4 — cargo add md4 · libregistry