Skip to main content

fnvstring is a hash implementation of the Fowler–Noll–Vo non-cryptographic function.

Installation

$ pip install fnvstring

.

Usage

usage in terminal

You can hash any string from terminal just typing

$ fnvstring "Hello World!"
rzWLzszm9JE

usage in code

from fnvstring import Fvn64SaltedHasher
my_hasher = Fvn64SaltedHasher(salt='Any$tringYouWant, even none')
print(my_hasher.hash('Hello World!')) # Must output dcSEMoww20o if you dont chant the salt param

Download files

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

Source Distribution

fnvstring-0.9.7.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fnvstring-0.9.7-py2.py3-none-any.whl (3.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file fnvstring-0.9.7.tar.gz.

File metadata

  • Download URL: fnvstring-0.9.7.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for fnvstring-0.9.7.tar.gz
Algorithm Hash digest
SHA256 6ced40457df3449cf1b5dc6938ac8f33ec7fb919432362bbedc9752c4da4cc44
MD5 48f49af25168ca59ccc06453a34ee33a
BLAKE2b-256 862313cfcc12ae54ee57c0e2fcdb26221bdc03c7370e52e56295d3a2e8405020

See more details on using hashes here.

File details

Details for the file fnvstring-0.9.7-py2.py3-none-any.whl.

File metadata

  • Download URL: fnvstring-0.9.7-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for fnvstring-0.9.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1d24f2351f68a5eb64964f351cdab0be1d3e59c41c6b58a13491d8e349dbfd8e
MD5 33a03d4b8bd19f43f0077482e3b3ccc2
BLAKE2b-256 7f10753fffb35fd316c0cb653a5d8b0cb01d4ea8da73178a4664c0ec579f096f

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.9.7 This release

2 files

0.9.5

2 files

0.9.4

2 files

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