public static String stringToHex(String str){
		StringBuffer sb = new StringBuffer();
		int ch = -1;
		for(int i = 0; i < str.length(); i ++){
			ch = (int)str.charAt(i);
			sb.append(Integer.toHexString(ch));
		}
		Print.print(sb.toString());
		return sb.toString();
	}