public static String rhex(byte[] in) {
			DataInputStream data = new DataInputStream(new ByteArrayInputStream(in));
			String str = "";
			try {
				for (int j = 0; j < in.length; j++) {
					String tmp = Integer.toHexString(data.readUnsignedByte());
					if (tmp.length() == 1) {
						tmp = "0" + tmp;
					}
					str = str + tmp;
				}
			} catch (Exception ex) {
			}
			return str;
		}