Converts a string to its hex representation.
The string to convert to hex
The hex representation of the string
Converts a string to its hex representation.