text to hex with producing code