def ComputeMD5Hex(byte_str):
 hasher = hashlib.md5()
 hasher.update(byte_str)
 return hasher.hexdigest()

def ComputeMD5Hex ( byte_str ) : hasher = hashlib . md5 ( ) hasher . update ( byte_str ) return hasher . hexdigest ( )
compute md5 hash of "byte_str" and return it encoded as hex string .