Creates hash by salt + hex
Project description
hexedhash
A module to create a hash from text by translating the text into a hex, adding a "salt" and trimming out the extra parts.
How to use
Using the module is very easy. Here are a couple of examples.
First example
from hexedhash import Hasher
hash01 = Hasher(prefix="ltcp", salt="hash::189dj")
if __name__ == "__main__":
print(hash01.makehash("Hello world!"))
Output:
ltcp[3a6f3a203177386f]
Second example
from hexedhash import Hasher
if __name__ == "__main__":
print(Hasher().makehash("Hello world!"))
Output:
ltcp[5f6f73206577636f]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hexedhash-1.0.0.tar.gz
(2.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hexedhash-1.0.0.tar.gz.
File metadata
- Download URL: hexedhash-1.0.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c42594c2f7e6c4d052616c008fadc2a9f4352cc989590c5a0fc23694ad248b6
|
|
| MD5 |
3445a7e0839f6db70f67023c86f7d861
|
|
| BLAKE2b-256 |
657fd3f97aa1ae5ed45cfc6dbec12c46f1dbbe7016ae7365f65f457c9e5e5910
|
File details
Details for the file hexedhash-1.0.0-py3-none-any.whl.
File metadata
- Download URL: hexedhash-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce0ce50f6f4397a1d679973b66d874ec05af7416edcd228608da94f94f563d97
|
|
| MD5 |
ad6af525758de4ada57bb877ab97e772
|
|
| BLAKE2b-256 |
a59169113d09578822f905ad2a42b9d6a12a6d12fd72390aa8f7c16e96aa6682
|