Upload files to "src/openonyx/configuration"
This commit is contained in:
1 parent
1731fc9e9f
commit
8c6521ac2d
1 file changed
+51
@@ -0,0 +1,51 @@
|
|||||||
|
package openonyx.configuration;
|
||||||
|
|
||||||
|
public class Event {
|
||||||
|
private boolean cancelled;
|
||||||
|
|
||||||
|
public void cancel() {
|
||||||
|
this.cancelled = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isCancelled() {
|
||||||
|
return this.cancelled;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static String decrypt(String string) {
|
||||||
|
String string1 = string;
|
||||||
|
int m = (1 ^ 3 ^ 5) << 3 ^ 1;
|
||||||
|
int n = 96 ^ 1 << 1;
|
||||||
|
String string2;
|
||||||
|
int p = (string2 = string1).length();
|
||||||
|
char[] d = new char[p];
|
||||||
|
boolean bl = true;
|
||||||
|
int j;
|
||||||
|
int o = j = p - 1;
|
||||||
|
char[] c = d;
|
||||||
|
byte b = 44;
|
||||||
|
int k = o;
|
||||||
|
int i = m;
|
||||||
|
|
||||||
|
while (k >= 0) {
|
||||||
|
n = j;
|
||||||
|
int l = string2.charAt(j);
|
||||||
|
j--;
|
||||||
|
c[n] = (char)(l ^ i);
|
||||||
|
if (j < 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
l = j--;
|
||||||
|
c[l] = (char)(string2.charAt(l) ^ b);
|
||||||
|
k = j;
|
||||||
|
}
|
||||||
|
|
||||||
|
return new String(c);
|
||||||
|
}
|
||||||
|
|
||||||
|
public Event() {
|
||||||
|
int i = 3 >> 2;
|
||||||
|
super();
|
||||||
|
this.cancelled = (boolean)i;
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in new issue
Block a user