OpenSSL example of hash functions