Added md5 hash functions