Skip to content

Implementation of SHA256 as an end-sem project

Notifications You must be signed in to change notification settings

razzat008/652ahs

Repository files navigation

652ahs

This is an end-semester project done in 1st year 2nd semester at Kathmandu University. It generates hash of input text or file with SHA-256 and MD5 algorithms.


This project allows us to generate hash for both files and texts. A toggle button is included which allows us to choose between file and texts.
MD5 hashing algorithm is also included.

Setting up

Building

Prerequisites

  • CMake
  • OpenGL
    Can be installed with
#Debian Based systems:
sudo apt install mesa-utils xorg-dev libxkbcommon-dev libgl1-mesa-dev libglu1-mesa-dev libglfw3-dev   
  • SQLite3
    Can be installed with
#Arch Based systems:
sudo pacman -S sqlite3

#Debian Based systems:
sudo apt install libsqlite3-dev

Running the program

  • Clone the repository
git clone --recurse-submodules https://github.com/razzat008/652ahs
  • Make the install script executable
chmod +x install.sh
  • Dependencies needed for the project can be automatically installed using the install script
sudo ./install.sh
  • cd into 652ahs and
cmake -S . -B build/
  • cd into build/ and run the generated MakeFile
make

and to run the obtained binary

./652ahs

Below is the rough demonstration of the filetree of the project

652ahs/
├── CMakeLists.txt
├── src/
│   ├── main.cpp
│   └── ...
└── libs/
│   ├── glfw/
│   │   ├── docs
│   │   ├── examples/
│   │   └── ...
│   └── imgui/
│       ├── backends/
│       │   ├── imgui_impl_glfw.cpp
│       │   ├── imgui_impl_glfw.h
│       │   └── ...
│       ├── imgui.cpp
│       ├── imgui.h
│       └── ...
└── ...

Checkout

Learn more:

About

Implementation of SHA256 as an end-sem project

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •