A Java console application for generating and comparing cryptographic hashes using the Java Security MessageDigest API.
This project demonstrates the fundamentals of cryptographic hashing and Java Object-Oriented Programming (OOP) through a simple, menu-driven console interface.
- 🔑 Generate cryptographic hashes from user input.
- 🔍 Compare two hash values.
- 📚 Display all
MessageDigestalgorithms supported by the installed JDK. - 🛡️ Support for multiple hashing algorithms, including SHA-2 and SHA-3.
- 🖥️ Interactive menu-driven console application.
- MD2
- MD5
- SHA-1
- SHA-224
- SHA-256
- SHA-384
- SHA-512
- SHA-512/224
- SHA-512/256
- SHA3-224
- SHA3-256
- SHA3-384
- SHA3-512
Note: The supported algorithms depend on the installed Java runtime.
Java-Hash-Generator
│
├── README.md
├── .gitignore
│
└── src
└── HashGenerator
├── Main.java
├── Menu.java
└── HashGenerator.java
- Java
- Java Security API (
MessageDigest) - Object-Oriented Programming (OOP)
- Git
- GitHub
- Visual Studio Code
git clone https://github.com/Mudhiraj005/Java-Hash-Generator.gitjavac src/HashGenerator/*.javajava -cp src HashGenerator.Main=========================
HASH GENERATOR
=========================
1. Generate Hash
2. Compare Hashes
3. Show Available Algorithms
4. Exit
- 📁 File Hash Generator
- 🔍 File Integrity Verification
- 💾 Hash History
- 🖥️ Swing / JavaFX GUI
- 🔐 Password Hashing (bcrypt / Argon2)
Vanam Chenchu Puneeth
GitHub: https://github.com/Mudhiraj005
⭐ If you found this project useful, consider giving it a star on GitHub!