Hashing implemented using both SHA1 and MD5