This Python script allows you to encrypt (Cypher) and verify passwords (Descypher) using the SHA-3-256 algorithm.
The script provides an interactive terminal menu with the following options:
- Encrypt a password to get its hash.
- Verify a password by comparing it to a hash.
- Exit the program.
- Show the help menu.
- Python 3.x
-
Clone this repository:
git clone https://github.com/Franmartin09/PassHash.git cd PassHash
-
Run the script:
python3 script.py
When you run the script, the following menu will be displayed:
Usage:
1 - Cypher to get HASH
2 - Verify the password
3 - Exit
4 - Usage
-
Encrypt a password:
- Select option
1
. - Enter the password you want to encrypt.
- The script will display the hash of the password.
- Select option
-
Verify a password:
- Select option
2
. - Enter a password hash.
- Enter the password you want to verify.
- The script will inform you if the password is correct or incorrect.
- Select option
-
Exit the program:
- Select option
3
.
- Select option
-
Show the help menu:
- Select option
4
.
- Select option
____________________________________________
Select the option what do you want : 1
Write the password: ********
Hash : e3d7b0c6fb6a7c7a1f0b9d2f1f9e4e8a2f7d7b2a5c3f6d1f4c5e7d1a1b3c4e5
____________________________________________
Select the option what do you want : 2
Write the Hash: e3d7b0c6fb6a7c7a1f0b9d2f1f9e4e8a2f7d7b2a5c3f6d1f4c5e7d1a1b3c4e5
Write the password to verify: ********
The password is correct!
Contributions are welcome. Feel free to open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for more details.