added MD5 and SHA1 hash functions (using openssl library)