Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kafetzisthomas/message-hasher
Allows you to hash strings with support for various hashing algorithms and salt inclusion.
https://github.com/kafetzisthomas/message-hasher
bcrypt hashing hashlib md5 sha1 sha224 sha256 sha384 sha512
Last synced: 5 days ago
JSON representation
Allows you to hash strings with support for various hashing algorithms and salt inclusion.
- Host: GitHub
- URL: https://github.com/kafetzisthomas/message-hasher
- Owner: KafetzisThomas
- Created: 2022-12-12T20:13:12.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-29T11:08:00.000Z (6 months ago)
- Last Synced: 2024-06-30T15:03:15.764Z (6 months ago)
- Topics: bcrypt, hashing, hashlib, md5, sha1, sha224, sha256, sha384, sha512
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Message-Hasher
__What Is This?__ - Allows you to hash strings with support for various hashing algorithms and salt inclusion.
__How to Download__: Open the terminal on your machine and type the following command:
```bash
git clone https://github.com/KafetzisThomas/Message-Hasher.git
```# Usage Notes
```bash
➜ hash_algo='sha256' # Example supported hash algorithm
➜ message_to_hash='secret_password' # Example plain text# Correct way
$ python main.py '$hash_algo' '$message_to_hash'# Output:
# Message: secret_password
# Hash Algorithm: sha256
# Salt (hex): b97d35d5e4850d6c95cdbf159884e09c
# Hashed Message: 8e67dd1355714239acde098b6f1cf906bde45be6db826dc2caca7536e07ae844
# Hashed Message (+salt): 46b9e120901d8e18e166135787072d6e29d488d0dcfd73100d6534429e03630d
# Message is valid: True# Incorrect ways
$ python3 main.py md4 '$message_to_hash'# Output:
# ValueError: Unsupported hash algorithm: md4$ python3 main.py
# Output:
# [!] Usage: python3 main.py
```