# md5 (Rust crate)

> The MD5 hash function for Rust

Source: https://talira.ai/catalog/md5-rust-crate-1afvb3qt
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / hashing](https://talira.ai/categories/libraries/hashing), [languages / rust](https://talira.ai/categories/languages/rust)
- Licence: Apache-2.0 OR MIT[^2][^3]
- Pricing: Free and open source[^2]
- Pricing notes: Free and open source (Apache-2.0 OR MIT).
- Free tier: yes[^2]
- Backed by: [Stainless Steel](https://talira.ai/orgs/stainless-steel.md)

md5 is a small Rust crate that computes MD5 digests, with md5::compute returning a digest you can format as hex. Its README says it exists for interoperability with protocols and systems that mandate MD5, which is cryptographically broken and shouldn't be used for new designs.

## Links

- GitHub: https://github.com/stainless-steel/md5
- Docs: https://docs.rs/md5

## Problems it solves

- compute an MD5 checksum in Rust to match a legacy protocol or file format
- check a file against a published MD5 sum from a Rust program
- verify an MD5 hash some other system sends me in a Rust service

## Features

- md5::compute for one-shot digests, formatted with {:x}
- std feature on by default

## Limitations

- MD5 is cryptographically broken: the README says to use it only for interoperability with protocols and systems that require it[^1]

## Trust

Overall: 0.27 out of 1.
Signals: maintenance 0.27, adoption 0.39, momentum 0.06, community 0.42, backing 0.30, extensibility 0.00.

- 87 GitHub stars
- 10 contributors
- backed by Stainless Steel

Warnings:

- last commit 4 months ago

## Alternatives

- [RustCrypto Hashes](https://talira.ai/catalog/rustcrypto-hashes-fh3q76a5.md): Collection of cryptographic hash functions written in pure Rust

## Sources

[^1]: https://github.com/stainless-steel/md5/blob/main/README.md (checked 29 Nov 2026)
[^2]: https://github.com/stainless-steel/md5/blob/main/LICENSE.md (checked 29 Nov 2026)
[^3]: https://github.com/stainless-steel/md5/blob/main/Cargo.toml (checked 29 Nov 2026)
