Packages / rupm

rs-hash-fnv 0.1.0

FNV-1 and FNV-1a hashes, 32-bit and 64-bit

Install

cargo add rs-hash-fnv --registry rupm

In Ruststudio: Packages, search for rs-hash-fnv, Install.

Owner: Rust Studio. Licence: MIT OR Apache-2.0. Total downloads: 0. Published 2026-11-23.

Versions

README

# rs-hash-fnv

FNV-1 and FNV-1a hashes, 32-bit and 64-bit

Add it with `rupm add rs-hash-fnv` (or `cargo add rs-hash-fnv --registry rupm`).

FNV is a fast non-cryptographic hash for hash tables and checksums. It is not meant for security-critical use.

```rust
assert_eq!(rs_hash_fnv::fnv1a_32(b"foobar"), 0xBF9C_F968);
assert_eq!(rs_hash_fnv::fnv1a_64(b"a"), 0xAF63_DC4C_8601_EC8C);
```