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 hashes)
Built Distribution
Close
Hashes for hexedhash-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce0ce50f6f4397a1d679973b66d874ec05af7416edcd228608da94f94f563d97 |
|
MD5 | ad6af525758de4ada57bb877ab97e772 |
|
BLAKE2b-256 | a59169113d09578822f905ad2a42b9d6a12a6d12fd72390aa8f7c16e96aa6682 |