Esempio n. 1
0
 def hash_obj(self, obj):
     """Return the md5 hash that `update_hash` makes us."""
     md5er = hashlib.md5()
     update_hash(md5er, obj)
     return md5er.hexdigest()
Esempio n. 2
0
 def hash_obj(self, obj):
     """Return the md5 hash that `update_hash` makes us."""
     md5er = hashlib.md5()
     update_hash(md5er, obj)
     return md5er.hexdigest()