def chexor(old, name, timestamp):
 if (name is None):
  raise Exception('name is None!')
 new = hashlib.md5(('%s-%s' % (name, timestamp)).encode('utf8')).hexdigest()
 return ('%032x' % (int(old, 16) ^ int(new, 16)))

def chexor ( old , name , timestamp ) : if ( name is None ) : raise Exception ( 'name is None!' ) new = hashlib . md5 ( ( '%s-%s' % ( name , timestamp ) ) . encode ( 'utf8' ) ) . hexdigest ( ) return ( '%032x' % ( int ( old , 16 ) ^ int ( new , 16 ) ) )
each entry in the account and container databases is xored by the 128-bit hash on insert or delete .