Packages / rupm

md5-tools 0.1.0

MD5 hash with a streaming API, std only (legacy checksums, not for security)

Install

cargo add md5-tools --registry rupm

In Ruststudio: Packages, search for md5-tools, Install.

Owner: Rust Studio. Licence: MIT OR Apache-2.0. Total downloads: 0. Published 2026-11-22.

Versions

README

# md5-tools

MD5 hash with a streaming API, std only (legacy checksums, not for security)

Add it with `rupm add md5-tools` (or `cargo add md5-tools --registry rupm`).

MD5 is broken for collision resistance. Use it only for legacy checksums and file identity checks, never for security-critical use.

```rust
assert_eq!(md5_tools::md5_hex(b"abc"), "900150983cd24fb0d6963f7d28e17f72");
let mut h = md5_tools::Md5::new();
h.update(b"a");
h.update(b"bc");
assert_eq!(md5_tools::to_hex(&h.finalize()), "900150983cd24fb0d6963f7d28e17f72");
```