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