throws Throwable
  public static String bin2hex(String strValue)    throws Throwable  {    StringBuffer sb = new StringBuffer();    for (int i = 0; i < strValue.length(); i++) {      char ch = strValue.charAt(i);      int d = (ch >> 4) & 0xf;      if (d < 10)        sb.append((char) (d + '0'));      else        sb.append((char) (d + 'a' - 10));      d = (ch) & 0xf;      if (d < 10)        sb.append((char) (d + '0'));      else        sb.append((char) (d + 'a' - 10));    }    return sb.toString();  }