$ apt install libssl-dev
libssl-dev is a library for development with openssl related API.
$ cd get-hash-checksum/ && make
# after compiling success, there is a executable file "hash" in root directory.
This command will display the hash value of the "example_file_for_hash".
$ ./hash ./files/example_file_for_hash
This command will display the hash value of the "example_file_for_hash".
$ ./hash ./files/example_file_for_hash YOUR_HASH_VALUE_HERE
Enjoy it, if this suit your needs. :)