public
class
Test{
private
String a10;
private
String a11;
private
String a6;
private
String a7;
private
String a8;
private
String a9;
public
static
void
main(String[] args) {
String b [] = {
"&"
,
"①"
,
"÷"
,
"∷"
,
"●"
,
"©"
,
"®"
,
"★"
,
"※"
,
"/"
};
Test t =
new
Test();
String str =
"①★/&①®"
;
t.getPassword(str);
}
/**
* 获取密码
* @param str
* @return
*/
public
void
getPassword(String str){
int
i = Integer.valueOf(set(str));
int
j = Integer.valueOf(set(str));
int
k = Integer.valueOf(set(str));
this
.a6 = mx6.Jem(mx6.Jem(mx6.Jem(
"СвОгСвПдСвкбСвПзСвОгСвПдСвкбСвПжСвОгСвПдСвкбСвПзСвОгСвПдСвкбСвПж"
)));
this
.a7 = mx6.Jem(mx6.Jem(mx6.Jem(
"СвОгСвПдСвкбСвПзСвОгСвПдСвкбСгкгСвОгСвПдСвкбСвПзСвОгСвПдСвкбСгкг"
)));
this
.a8 = mx6.Jem(mx6.Jem(mx6.Jem(
"СвОгСвПдСвкбСвПзСвОгСвПдСвкбСвПзСвОгСвПдСвкбСвПзСвОгСвПдСвкбСвПз"
)));
int
m =
41779
+
46148
+
50517
-
59255
+
161
>>
2
;
int
n =
41779
+
54886
+
46148
+
50517
+
178
>>
2
;
int
i4 =
41779
+
46148
+
50517
+
195
>>
2
;
int
i1 =
41779
+
46148
+
50517
+
212
>>
2
;
int
i2 =
41779
+
46148
+
50517
+
229
>>
2
;
int
i3 = (m -
6
-
4
-
5
-
4
+ i4 + i1 + i2) *
2
*
3
*
4
*
5
-
1
-
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
-
11
;
i4 = n + i1 -
6
+
4
+ m + i4 + i2 ^
0x0
;
int
i5 =
4928
+ i3 + i4 >>
9
;
long
l1 = i3 +
46148
+
54886
+ i2 + m + (i3 + i5 + i4 >>
2
^
0x9
) ^ i;
long
l2 = i5 + n + i2 +
59255
+
50517
+
54886
^ j;
long
l3 = i4 + i5 + i1 + m +
54886
+
59255
+
50517
+
41779
^ k;
this
.a9 = (
this
.a6 + l1);
this
.a10 = (
this
.a7 + l2);
this
.a11 = (
this
.a8 + l3);
String s = String.valueOf(mx5.梦想
66
(
""
+ l1));
System.out.println(
"第一层密码:"
+ s);
String s2 = String.valueOf(mx5.梦想
6
(
""
+ l2));
System.out.println(
"第二层密码:"
+ s2);
String s3 = String.valueOf(mx5.梦想
6666
(
""
+ l3));
System.out.println(
"第三层密码:"
+ s3);
}
/**
* 序列号替换
* @param s
* @return
*/
public
static
String set(String s)
{
String[] a= {
"0"
,
"1"
,
"2"
,
"3"
,
"4"
,
"5"
,
"6"
,
"7"
,
"8"
,
"9"
};
String b [] = {
"&"
,
"①"
,
"÷"
,
"∷"
,
"●"
,
"©"
,
"®"
,
"★"
,
"※"
,
"/"
};
String sss=s;
for
(
int
i=
0
;i<
10
;i++)
{
sss=sss.replaceAll(b[i],a[i]).toString();
}
StringBuffer sb=
new
StringBuffer(sss);
String ss=sb.toString();
return
new
String(ss);
}
}