Nothing Special   »   [go: up one dir, main page]

Skip to content

Application to generate different kind of hashes based on the given input string

License

Notifications You must be signed in to change notification settings

bartkessels/HashGenerator

Repository files navigation

Hash Generator

License: MIT Codacy Badge codecov


Linux / MacOS Windows
Build Status Build status

Application to generate different kind of hashes


Table of contents

1. Screenshots

Main window of Hash Generator

2. Features

Hash Generator is a small application to generate multiple hashes from any input string you give it. The code is designed to easily add new hashing algorithms so if you're missing anything feel free to open a pull-request or create an issue.

2.1 Supported algorithms

  • Keccak-224
  • Keccak-256
  • Keccak-384
  • Keccak-512
  • MD4
  • MD5
  • SHA1
  • SHA224
  • SHA256
  • SHA384
  • SHA512
  • SHA3-224
  • SHA3-256
  • SHA3-284
  • SHA3-512

3. Required packages

Hash Generator only uses the Core and Widgets components of the Qt5 library for the GUI. To run the tests Hash Generator requires Catch2 which will be fetched when building hashgen_tests so there's no need to install any libraries or header files.

4. Build

4.1 MacOS

$ mkdir build
$ cd build
$ cmake ..
$ make

After these commands completed you'll get two files in the bin folder, one for running the tests and a .app file which you can execute to run Hash Generator.

Use ./bin/hashgen_tests to run the tests

Use open bin/hashgen.app to execute the application

4.2 Linux

$ mkdir build
$ cd build
$ cmake ..
$ make

After these commands completed you'll get two files in the bin folder, one for running the tests and one for executing Hash Generator itself.

Use ./bin/hashgen_tests to run the tests

Use ./bin/hashgen to execute the application

4.3 Windows

> cmake ..
> devenv HashGenerator.sln /deploy Release

After these commands completed you'll get two files in the bin/Release folder, one for running the tests and one for executing Hash Generator itself.

Use bin/Release/hashgen_tests.exe to run the tests

Use bin/Release/hashgen.exe to execute the application

5. Packaging

To install Hash Generator we need to create an installable package for the platform you're currently on.

You can only execute these steps if you've already built the application. The working directory for all the following platforms is assumed to be build.

5.1 Macos

On MacOS we'll create a dmg package in which you can drag the hashgen.app file into the Applications directory. As of right now you need to enter the bin directory to be able to see the hashgen.app file, this will be resolved so it's more user friendly.

By executing the following command you'll get the HashGenerator-<verion_number>-Darwin.dmg file in the build directory.

$ cpack -g DragNDrop

5.2 Linux

On Linux we'll create a bash script which can install Hash Generator.

By executing the following command you'll get the HashGenerator-<version-number>-Linux.sh file in the build directory.

$ cpack

5.3 Windows

On Windows we'll create an executable to install Hash Generator into the program files directory.

By executing the following command you'll get the HashGenerator-<version_number>-Windows.exe file in the build directory.

> cpack

About

Application to generate different kind of hashes based on the given input string

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published