# RustCrypto/hashes

Collection of cryptographic hash functions written in pure Rust

Repository: https://github.com/RustCrypto/hashes
Canonical: https://ross.abutalabs.com/products/hashes
Language: Rust
License Family: other
Topics: cryptographic-hash-functions, blake2, gost, streebog, groestl, md2, md4, md5, sha1, sha2, sha3, whirlpool, digest, cryptography, rust, k12, hash, ripemd, sm3
Last push: 2026-08-26T13:21:46+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 3575, "days_push": 7, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2258, forks 335 (observed 2026-08-28T04:06:31.524025+00:00)

## What it is
A collection of cryptographic hash function implementations written in pure Rust, organized as separate crates built on the digest crate's traits. It supports a wide range of algorithms including SHA-2, SHA-3, BLAKE2, MD5, and GOST, and is no_std capable for bare-metal and WebAssembly use.

## Use cases
- compute sha256 hashes in rust
- blake2 hashing library for rust
- verify file checksums with sha3
- hash data in a no_std embedded project
- use md5 for legacy compatibility in rust
- wasm-compatible cryptographic hashing

## When to choose
- you need cryptographic hash functions in Rust with pure-Rust, no_std support
- you need broad algorithm coverage including legacy hashes like MD5 or GOST
- you want crates built on a common digest trait for interoperability

## When to avoid
- you need a general-purpose non-cryptographic hasher like xxHash for speed
- you need MACs, signatures, or encryption rather than plain hashing
- you need hash functions in a language other than Rust

## Facets
- artifact type: library
- maturity: active
- function: cryptography, security
- domain: security, developer-tools
- platform: cross-platform, wasm, embedded
- tags: hash-functions, sha2, sha3, blake2, md5, no-std, rust, digest

## Member repositories
- RustCrypto/hashes (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:31.524025+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:43:38.577546+00:00, confidence not recorded.
  - readme: https://github.com/RustCrypto/hashes (fetched 2026-08-28T04:06:31.524025+00:00, sha 56d9ca8b3cad)
- Data as of 2026-08-30T08:39:29.467469+00:00.
