Skip to content

akhilparakka/sha256-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SHA-256 Hash Generator 🔒

Welcome to the SHA-256 Hash Generator project! This simple application allows you to input any string and get its SHA-256 hash value. It's implemented in C++ and demonstrates the SHA-256 hashing algorithm.

Features ✨

  • Simple to Use: Just enter a string and get the SHA-256 hash.
  • C++ Implementation: Pure C++ implementation without any external dependencies.
  • Educational: Great for learning about hashing and C++ classes.

Getting Started 🚀

Follow these instructions to build and run the project on your local machine.

Prerequisites 📋

Make sure you have the following installed:

  • A C++ compiler (e.g., g++)
  • CMake

Building the Project 🔨

  1. Clone the Repository:

    git clone https://github.com/akhilparakka/sha256-cpp.git
    cd sha256-cpp
  2. Create a Build Directory:

    mkdir build
    cd build
  3. Run CMake and Build:

    cmake ..
    cmake --build .

Running the Application ▶️

After building the project, you can run the executable:

./sha256

You will be prompted to enter a string. The application will then output the SHA-256 hash of the input string.

Example 💡

$ ./sha256
Enter input for hashing: 
Hello, World!
SHA-256("Hello, World!") = dffd6021bb2bd5b0af676290809ec3a53191dd81c7f70a4b28688a362182986f

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published