def _base64_md5hash(buffer_object):
 hash_obj = md5()
 _write_buffer_to_hash(buffer_object, hash_obj)
 digest_bytes = hash_obj.digest()
 return base64.b64encode(digest_bytes)

def _base64_md5hash ( buffer_object ) : hash_obj = md5 ( ) _write_buffer_to_hash ( buffer_object , hash_obj ) digest_bytes = hash_obj . digest ( ) return base64 . b64encode ( digest_bytes )
get md5 hash of bytes .