add convertStringToHex