public String Decrypt(String C) {
   int len = C.length() / 22;
   String M = "";
   for (int i = 0; i < len; i++) {
     String Temp = C.substring(i * 22, i * 22 + 22);
     String m = Character.toString((char) Decrypto(new BigInteger(Temp)));
     M = M.concat(m);
   }
   return M;
 }
Beispiel #2
0
  @Override
  public String toString() {
    switch (this.type) {
      case OPERATOR:
      case OPENING_BRACKET:
      case CLOSING_BRACKET:
        return Character.toString(operator);

      case FUNCTION:
        return this.function;

      case VALUE:
      default:
        return Arrays.toString(value);
    }
  }