nl_tokens: / * Convert a raw string to a hex string
pl_tokens: function rstr2hex ( input ) { var hexTab = '0123456789abcdef' ; var output = '' ; var x ; var i ; for ( i = 0 ; i < input . length ; i += 1 ) { x = <mask> . charCodeAt ( i ) ; output += hexTab . charAt ( x >>> 4 & 0x0f ) + hexTab . charAt ( x & 0x0f ) ; } return output ; }