Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

FNV hash functions.

Project description

This is a pure python implementation of FNV algorithm as specified in http://isthe.com/chongo/tech/comp/fnv/.

Only works with Python 3. And Python 2 is not planned to be supported.

Usage

$ pip install fnv
import fnv

data = 'my data'
fnv.hash(data, algorithm=fnv.fnv_1a, bits=64) # uses fnv.fnv_1a algorithm
fnv.hash(data, bits=64) # fnv.fnv_1a is a default algorithm
fnv.hash(data, algorithm=fnv.fnv, bits=64)

Project details


Release history Release notifications

This version
History Node

0.2.0

History Node

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
fnv-0.2.0.tar.gz (2.4 kB) Copy SHA256 hash SHA256 Source None Jul 19, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page