code: static public String bb2hex(byte[] bb) {
  		String result = "";
  		for (int i=0; i<bb.length; i++) {
  			result = result + String.format("%02X ", bb[i]);
  		}
  		return result;
  	}
docs: Converts a byte array to a hexadecimal string representation
  @param bb the byte array to convert
  @return string the string representation