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)

Metadata

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 Provenance
fnv-0.2.0.tar.gz 2.4 kB Without provenance 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

Security for fnv 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

1 release file No provenance

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