Linux / MacOS | Windows |
---|---|
Application to generate different kind of hashes
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.
- Keccak-224
- Keccak-256
- Keccak-384
- Keccak-512
- MD4
- MD5
- SHA1
- SHA224
- SHA256
- SHA384
- SHA512
- SHA3-224
- SHA3-256
- SHA3-284
- SHA3-512
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.
$ 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
$ 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
> 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
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
.
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
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
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