def hexify(sum):
 if (sum is None):
  return 'None'
 return (hexify_format % tuple(map(ord, sum)))

def hexify ( sum ) : if ( sum is None ) : return 'None' return ( hexify_format % tuple ( map ( ord , sum ) ) )
return a hex representation of a 16-byte string .