fnvstring
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
Metadata
Release files for fnvstring 0.9.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fnvstring-0.9.7.tar.gz | 13.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fnvstring-0.9.7-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 17.6 kB
Release files / fnvstring-0.9.7.tar.gz
| Download URL | fnvstring-0.9.7.tar.gz |
|---|---|
| Size | 13.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6ced40457df3449cf1b5dc6938ac8f33ec7fb919432362bbedc9752c4da4cc44
|
|
BLAKE2b-256 checksum How to use checksums |
862313cfcc12ae54ee57c0e2fcdb26221bdc03c7370e52e56295d3a2e8405020
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / fnvstring-0.9.7-py2.py3-none-any.whl
| Download URL | fnvstring-0.9.7-py2.py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
1d24f2351f68a5eb64964f351cdab0be1d3e59c41c6b58a13491d8e349dbfd8e
|
|
BLAKE2b-256 checksum How to use checksums |
7f10753fffb35fd316c0cb653a5d8b0cb01d4ea8da73178a4664c0ec579f096f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|