For the hash functions, they are using algorithms from the openSSL library.
Hence you can compile then using the following command. make sure you have gcc and openssl installed.
"gcc -o filename filename.c -lssl -lcrypto" this will link the compiler to the openssl library during compilation.
Use "./filname" to run the compiled code and see output