Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hash It

A simple C++ command-line utility for computing hashes of strings or files. Designed for ease of use and extensibility.

Features

  • Compute cryptographic hashes of strings and files
  • Modular structure: easy to plug in new algorithms
  • Open to contributions

Available Hashes

Algorithm Flag Status
SHA-256 --SHA256 Supported
SHA-1 --SHA1 Supported
SHA-512 --SHA512 Planned

Build Instructions

Make sure you have a C++17 compatible compiler installed (like g++), then run:

make

This will compile the project and generate an executable named getHash.

Usage

Hash a string:

./getHash --SHA256 "hello world"

No need for quotes if you use a single-word string. Use quotes for multi-word input.

Hash a file:

./getHash --SHA256 --FILE /path/to/your/file.txt

The hash will be printed to the terminal.

Installing and requirements (DEBIAN)

Installation of Hash It requires root permissions.

Required dependencies - git
if git is not installed use

sudo apt-get install git -y

to install git.

Installing (Debian/Termux):

git clone https://github.com/Abe0770/Hash-It.git
cd Hash-It
chmod u+x install.sh
sudo ./install.sh

Uninstalling

cd Hash-It
chmod u+x uninstall.sh
sudo ./uninstall.sh

Contributing

Feel free to contribute by adding new hash algorithms.

  • Fork this repo
  • Create a new branch
  • Add your changes
  • Submit a pull request

We’ll be happy to review your contribution!

License

This project is released under the MIT License.

About

Hash anything in CLI

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages