How to convert a String o another Hex String

You didn't understand why you thought you had to store the hex string in a variable?