Registry / crypto / const-fnv1a-hash

const-fnv1a-hash

JSON →
library1.1.0rscratesunverified

A #![no_std] crate for performing FNV1A-16/32/64/128 hashing on Rust stable at compile time.

# Cargo.toml [dependencies] const-fnv1a-hash = "1.1.0"
INSTALL
IMPORT
SIG · CONST-FNV1A-HASH
C
const-fnv1a-hash
cryptorustv1.1.0
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.

fnv1a_hash_str_64
use const_fnv1a_hash::fnv1a_hash_str_64;

Compute a compile-time FNV1A-64 hash of a string literal.

use const_fnv1a_hash::fnv1a_hash_str_64; const HASH: u64 = fnv1a_hash_str_64(b"hello"); fn main() { println!("{}", HASH); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
Resources
const-fnv1a-hash — cargo add const-fnv1a-hash · libregistry