def unhexify(hexsum):
 if (hexsum == 'None'):
  return None
 sum = ''
 for i in range(0, len(hexsum), 2):
  sum = (sum + chr(string.atoi(hexsum[i:(i + 2)], 16)))
 return sum

def unhexify ( hexsum ) : if ( hexsum == 'None' ) : return None sum = '' for i in range ( 0 , len ( hexsum ) , 2 ) : sum = ( sum + chr ( string . atoi ( hexsum [ i : ( i + 2 ) ] , 16 ) ) ) return sum
return the original from a hexified string .