#fnv #hash #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

#1260 in Algorithms

Download history 870/week @ 2023-11-18 896/week @ 2023-11-25 680/week @ 2023-12-02 413/week @ 2023-12-09 519/week @ 2023-12-16 372/week @ 2023-12-23 348/week @ 2023-12-30 653/week @ 2024-01-06 711/week @ 2024-01-13 889/week @ 2024-01-20 669/week @ 2024-01-27 576/week @ 2024-02-03 515/week @ 2024-02-10 571/week @ 2024-02-17 737/week @ 2024-02-24 670/week @ 2024-03-02

2,552 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