#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

#566 in Algorithms

Download history 5/week @ 2021-09-28 13/week @ 2021-10-05 84/week @ 2021-10-12 46/week @ 2021-10-19 55/week @ 2021-10-26 84/week @ 2021-11-02 44/week @ 2021-11-09 42/week @ 2021-11-16 81/week @ 2021-11-23 78/week @ 2021-11-30 53/week @ 2021-12-07 55/week @ 2021-12-14 46/week @ 2021-12-21 77/week @ 2021-12-28 53/week @ 2022-01-04 68/week @ 2022-01-11

249 downloads per month

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–320KB

OZ