# tkaitchuck/aHash

aHash is a non-cryptographic hashing algorithm that uses the AES hardware instruction

Repository: https://github.com/tkaitchuck/aHash
Canonical: https://ross.abutalabs.com/products/ahash
Homepage: https://crates.io/crates/ahash
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: rust, hash, hashing, aes
Last push: 2025-11-21T02:04:40+00:00

## Health v2 (maintenance only)
Score: 50/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 53, release rhythm 19, longevity 100
- inputs: {"age_days": 2743, "days_push": 286, "days_rel": 324, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1342, forks 139 (observed 2026-08-28T04:04:26.255304+00:00)

## What it is
aHash is a non-cryptographic hash function library for Rust that leverages AES hardware instructions (AES-NI) for extremely fast hashing. It is designed as a drop-in replacement hasher for in-memory HashMaps and HashSets, with keyed hashing to resist hash-flooding DoS attacks.

## Use cases
- speed up Rust HashMap and HashSet lookups
- replace the default Rust hasher with a faster one
- protect hashmaps from hash-flooding denial-of-service attacks
- use a fast hasher in no_std embedded Rust projects
- build keyed hashmaps with unpredictable hash values

## When to choose
- you need the fastest available hasher for in-memory hashmaps in Rust
- you want DOS-resistant keyed hashing for hashmap keys
- you need a no_std compatible hasher
- you want a drop-in replacement for the default Hasher trait

## When to avoid
- you need cryptographically secure hashing (use SHA-3)
- you need hashes persisted to disk or sent over the network
- you need deterministic, stable hash output across versions or machines
- you need a MAC or any security-sensitive hashing

## Facets
- artifact type: library
- maturity: stable
- function: cryptography, developer-tools
- domain: developer-tools, performance
- platform: rust, cross-platform
- tags: hashing, aes-ni, hashmap, non-cryptographic, dos-resistant, no-std, algorithms

## Member repositories
- tkaitchuck/aHash (main) score 50

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:26.255304+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-30T04:43:42.804990+00:00, confidence not recorded.
  - readme: https://github.com/tkaitchuck/aHash (fetched 2026-08-28T04:04:26.255304+00:00, sha 6d08b31a6561)
  - registry_crates: https://crates.io/api/v1/crates/ahash (fetched 2026-08-29T12:02:30.022648+00:00, sha 62f5d9f0e213)
- Data as of 2026-08-30T08:39:29.467469+00:00.
