Skip to main content

Crate md5_many

Crate md5_many 

Source
Expand description

High-throughput MD5 with portable multi-buffer SIMD.

md5-many keeps the standard single-stream MD5 API separate from its SIMD batch engine. A single MD5 stream has a dependency from one 64-byte block to the next, while independent messages can occupy independent SIMD lanes. On x86-64 the batch scheduler combines 8-way AVX2 or 16-way AVX-512 native kernels with interleaved dual- and triple-batch kernels to expose additional instruction-level parallelism.

MD5 is cryptographically broken and must not be used for signatures, password hashing, or adversarial integrity. This crate targets legacy interoperability and non-adversarial checksumming workloads.

Re-exports§

pub use self;

Modules§

block_api
RustCrypto block-level compatibility API.

Structs§

Md5
Streaming MD5 hasher compatible with RustCrypto’s digest traits.
Md5Many
Runtime-dispatched batch MD5 engine.
Md5State
Incremental state for one MD5 message inside a multi-stream workload.

Traits§

Digest
Convenience wrapper trait covering functionality of cryptographic hash functions with fixed output size.

Functions§

md5
Compute the MD5 digest of a single byte slice.
md5_many
Hash many independent messages using runtime SIMD detection.

Type Aliases§

Md5Digest
A raw 128-bit MD5 digest.