convertStringToHex