Module md5

Source
Expand description

Implementation of the MD5 hash function.

WARNING: Don’t use MD5 for anything remotely security-sensitive! This implementation is meant to be used for Advent of Code puzzles only.

The vectorized versions hash multiple inputs of the same length at once, which provides a significant performance increase for the brute force puzzle solutions.

Modules§

array128
multiversion! array128 implementation.
array256
multiversion! array256 implementation.
array4096
multiversion! array4096 implementation.
avx2
multiversion! avx2 implementation.
avx2x2
multiversion! avx2x2 implementation.
avx2x4
multiversion! avx2x4 implementation.
avx2x8
multiversion! avx2x8 implementation.
scalar
multiversion! scalar implementation.

Statics§

FASTEST
Fastest supported implementation, for dynamic dispatch.

Functions§

find_hash_with_appended_count
Brute force hashes of a prefix followed by an increasing integer.
hash
Returns the MD5 hash of the input slice.
to_hex
Convert an MD5 hash to ASCII hex.