Python package to check if a string is a valid hash.
Project description
✅ checkHash
Python package to check if a string is a valid hash.
🚀 Usage
from checkHash import *
# Check if valid MD2 hash
isMD2("1c8f1e6a94aaa7145210bf90bb52871a") # Returns True
# Check if valid MD4 hash
isMD4("94e3cb0fa9aa7a5ee3db74b79e915989") # Returns True
# Check if valid MD5 hash
isMD5("65a8e27d8879283831b664bd8b7f0ad4") # Returns True
# Check if valid MD6 128 hash
isMD6128("229b1e1e0a0725416b8ec8cc0911facf") # Returns True
# Check if valid MD6 256 hash
isMD6256("ce5effce32637e6b8edaacc9284b873c3fd4e66f9779a79df67eb4a82dda8230") # Returns True
# Check if valid MD6 512 hash
isMD6512("1333db8caf3c69ce346f2dacef9805803f9d4c8594e4b20856ce1b0a70ccb0e68028b0b749d4aa25cbe489a2eb51260c0d7bd16d32dd4d7bfbd1f3ae8aa03260") # Returns True
# Check if valid SHA-1 hash
isSHA1("0a0a9f2a6772942557ab5355d76af442f8f65e01") # Returns True
# Check if valid SHA-2 224 hash
isSHA2224("72a23dfa411ba6fde01dbfabf3b00a709c93ebf273dc29e2d8b261ff") # Returns True
# Check if valid SHA-2 256 hash
isSHA2256("dffd6021bb2bd5b0af676290809ec3a53191dd81c7f70a4b28688a362182986f") # Returns True
# Check if valid SHA-2 384 hash
isSHA2384("5485cc9b3365b4305dfb4e8337e0a598a574f8242bf17289e0dd6c20a3cd44a089de16ab4ab308f63e44b1170eb5f515") # Returns True
# Check if valid SHA-2 512 hash
isSHA2512("374d794a95cdcfd8b35993185fef9ba368f160d8daf432d08ba9f1ed1e5abe6cc69291e0fa2fe0006a52570ef18c19def4e617c33ce52ef0a6e5fbe318cb0387") # Returns True
# Check if valid SHA-3 224 hash
isSHA3224("853048fb8b11462b6100385633c0cc8dcdc6e2b8e376c28102bc84f2") # Returns True
# Check if valid SHA-3 256 hash
isSHA3256("1af17a664e3fa8e419b8ba05c2a173169df76162a5a286e0c405b460d478f7ef") # Returns True
# Check if valid SHA-3 384 hash
isSHA3384("aa9ad8a49f31d2ddcabbb7010a1566417cff803fef50eba239558826f872e468c5743e7f026b0a8e5b2d7a1cc465cdbe") # Returns True
# Check if valid SHA-3 512 hash
isSHA3512("38e05c33d7b067127f217d8c856e554fcff09c9320b8a5979ce2ff5d95dd27ba35d1fba50c562dfd1d6cc48bc9c5baa4390894418cc942d968f97bcb659419ed") # Returns True
# Check if valid NTLM hash
isNTLM("A0D6DCCEBBC32FD38E7355AF9926A582") # Returns True
# Check if other valid hash
length = 16
isOtherHash("abcdef1234567890", length) # Returns True
📦 Installation
Run the following to install:
$ pip install checkHash
👨💻 Developing checkHash
To install checkHash, along with the tools you will need to develop and run tests, run the following in your virtualenv:
$ pip install -e .[dev]
🖊 Planned Features
There are some planned features that have currently not been implemented.
- RipeMD 128
- RipeMD 160
- RipeMD 256
- RipeMD 320
- CRC 16
- CRC 32
- Adler 32
- Whirlpool
🚦 Development Progress
Unstable Development
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
checkHash-0.0.1.tar.gz
(16.8 kB
view details)
Built Distribution
checkHash-0.0.1-py3-none-any.whl
(15.7 kB
view details)
File details
Details for the file checkHash-0.0.1.tar.gz
.
File metadata
- Download URL: checkHash-0.0.1.tar.gz
- Upload date:
- Size: 16.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ccb1ee8d46e76f66a463e9bb307cb79951c854011ecd49294184284f8fc8ef1 |
|
MD5 | 8265c85065fba6eef8fa04d6ef661ef8 |
|
BLAKE2b-256 | bd96003dced495bb6cc0a0ae234cc466d0fdcff0481ce1283b47b1838deb30ef |
File details
Details for the file checkHash-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: checkHash-0.0.1-py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a895db4a048a43e394795e0bcc4acf5e5c89beb84b7be1f4927f4ca63371d8e |
|
MD5 | 6046e1cd16c98c20a3c2d721b5a8ba7e |
|
BLAKE2b-256 | 069ae86b7064a0b8bfce0746a0673bffe89cd0edf16b03d619ede92cbd9d8254 |