Skip to main content

Pure Python FNV hash implementation

Project description

https://travis-ci.org/znerol/py-fnvhash.svg?branch=master

Pure Python implementation of the FNV hash family with 100% test coverage. Take a look at pyhash for use cases where performance is more important than portability.

Usage

>>> from fnvhash import fnv1a_32
>>> hex(fnv1a_32(b'foo'))
'0xa9f37ed7'

License

The software is subject to the MIT license.

Project details


Download files

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

Source Distribution

fnvhash-0.1.0.tar.gz (1.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page