Skip to main content

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)

Release files for fnv 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fnv 0.2.0
File Size Uploaded
fnv-0.2.0.tar.gz 2.4 kB Details

Release files / fnv-0.2.0.tar.gz

Download URL fnv-0.2.0.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b9c720bd3d94ee174531014d33e0b553b0412e90e0d33ecf93358e17ce78f54e
BLAKE2b-256 checksum
How to use checksums
fe2a94b2bc7d872b066c3ee123105b8a713ff9f0867403de0642bafb0b678690
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.0 This release

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page