Converting String Values to Hex Values
<cffunction name="stringToHex" access="public" output="false" returntype="string">
<cfargument name="stringValue" type="string" required="false" default="" />
<cfscript>
var base64Value = toBase64(arguments.stringValue);
var binaryValue = toBinary(base64Value);
var hexValue = binaryEncode(binaryValue, "hex");
</cfscript>
<cfreturn lCase(hexValue) />
</cffunction>