#hash #fnv #fowler-noll-vo

lz_fnv

Fowler-Noll-Vo hash functions for various integer types

3 releases

Uses old Rust 2015

0.1.2 Mar 20, 2018
0.1.1 Aug 7, 2017
0.1.0 Aug 6, 2017

#1335 in Algorithms

Download history 630/week @ 2024-03-14 789/week @ 2024-03-21 857/week @ 2024-03-28 614/week @ 2024-04-04 979/week @ 2024-04-11 1196/week @ 2024-04-18 861/week @ 2024-04-25 824/week @ 2024-05-02 486/week @ 2024-05-09 646/week @ 2024-05-16 919/week @ 2024-05-23 1017/week @ 2024-05-30 944/week @ 2024-06-06 1215/week @ 2024-06-13 845/week @ 2024-06-20 623/week @ 2024-06-27

3,763 downloads per month
Used in tide-etag

MIT license

110KB
1.5K SLoC

Lz FNV (Fowler-Noll-Vo)

This crate provides Fowler-Noll-Vo implementations for 32-bit, 64-bit and 128-bit width integers.

Build Status

Documentation

Features

  • nightly - For when using a nightly build of rust
  • u128 - When not using nightly this uses the extprim crate for its u128

License

This project is licensed under the MIT License (LICENSE or http://opensource.org/licenses/MIT).


lib.rs:

The lz_fnv crate implements Fowler-Noll-Vo hashing.

FNV-0, FNV-1 and FNV-1a hash implementations are supported for various width integers.

The FNV implementations for u64 also implement Hasher.

The crate features available are:

  • nightly - For when using a nightly build of rust
  • u128 - When not using nightly this uses the extprim crate for its u128 type

Dependencies

~0–490KB