Skip to content

Mudhiraj005/Java-Hash-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

🔐 Java Hash Generator

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.


✨ Features

  • 🔑 Generate cryptographic hashes from user input.
  • 🔍 Compare two hash values.
  • 📚 Display all MessageDigest algorithms supported by the installed JDK.
  • 🛡️ Support for multiple hashing algorithms, including SHA-2 and SHA-3.
  • 🖥️ Interactive menu-driven console application.

🔐 Supported Algorithms

  • 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.


🏗️ Project Structure

Java-Hash-Generator
│
├── README.md
├── .gitignore
│
└── src
    └── HashGenerator
        ├── Main.java
        ├── Menu.java
        └── HashGenerator.java

⚙️ Technologies Used

  • Java
  • Java Security API (MessageDigest)
  • Object-Oriented Programming (OOP)
  • Git
  • GitHub
  • Visual Studio Code

🚀 Getting Started

Clone the repository

git clone https://github.com/Mudhiraj005/Java-Hash-Generator.git

Compile

javac src/HashGenerator/*.java

Run

java -cp src HashGenerator.Main

💻 Sample Output

=========================
      HASH GENERATOR
=========================

1. Generate Hash
2. Compare Hashes
3. Show Available Algorithms
4. Exit

🚀 Future Enhancements

  • 📁 File Hash Generator
  • 🔍 File Integrity Verification
  • 💾 Hash History
  • 🖥️ Swing / JavaFX GUI
  • 🔐 Password Hashing (bcrypt / Argon2)

👨‍💻 Author

Vanam Chenchu Puneeth

GitHub: https://github.com/Mudhiraj005


⭐ If you found this project useful, consider giving it a star on GitHub!

About

A Java-based cryptographic hash generator supporting multiple hashing algorithms and integrity verification.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages