Registry / utility / ahash
library0.8.12rscratesunverified

A non-cryptographic hash function using AES-NI for high performance.

# Cargo.toml [dependencies] ahash = "0.8.12"
INSTALL
IMPORT
SIG · AHASH
A
ahash
utilityrustv0.8.12
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

AHashMap
use ahash::AHashMap;

Creates a HashMap using AHash for fast hashing.

use ahash::AHashMap; fn main() { let mut map = AHashMap::new(); map.insert("key", 42); println!("{:?}", map.get("key")); }
Debug
Known issues
gotchaNot cryptographically secure; do not use for security-sensitive hashing.
fix
Use a cryptographic hash like SHA-256 for security purposes.
affects: *
Upgrade
Version history
0.8.12latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
32 hits · last 30 days
node
26
OpenAI (training)
1
Resources
ahash — cargo add ahash · libregistry