免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1937 | 回复: 1
打印 上一主题 下一主题

高手帮我解释下这个JAVA加密方法 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-01-01 10:21 |只看该作者 |倒序浏览
package sfol;

import common.b;
import java.util.Calendar;
import java.util.Date;
import javax.microedition.io.ConnectionNotFoundException;
import javax.microedition.lcdui.Font;

// Referenced classes of package sfol:
// SinaPalmlet

public final class z
{

public z()
{
}

static String a(String s, String s1)
{
String s2;
String s3;
String s4;
byte abyte0[];
int i;
s2 = "8UiDJfre5KgTmB45";
s3 = null;
s4 = null;
abyte0 = null;
try
{
abyte0 = s1.getBytes("UTF-8");
s4 = new String(abyte0);
}
catch(Exception _ex) { }
s3 = "";
i = 0;
goto _L1
_L9:
char c1;
char c2;
s3 = s3 + "%";
c1 = (char)(abyte0 >> 4 & 0xf);
c2 = (char)(abyte0 & 0xf);
if(c1 >= '\n') goto _L3; else goto _L2
_L2:
48;
c1;
goto _L4
_L3:
c1 - 10;
65;
_L4:
JVM INSTR iadd ;
(char);
char c3;
c3;
s3 = s3 + c3;
if(c2 >= '\n') goto _L6; else goto _L5
_L5:
48;
c2;
goto _L7
_L6:
c2 - 10;
65;
_L7:
JVM INSTR iadd ;
(char);
c3;
s3 = s3 + c3;
i++;
_L1:
if(i < abyte0.length) goto _L9; else goto _L8
_L8:
s3 = s3 + "&d=";
s3 = s3 + b.a(s2 + s + s4);
goto _L10
JVM INSTR dup ;
Exception exception;
exception;
printStackTrace();
_L10:
return s3;
}问题补充:接上:

(date);
return calendar.get(2) + 1;
}

public static int b()
{
Date date = new Date(System.currentTimeMillis());
Calendar calendar;
(calendar = Calendar.getInstance()).setTime(date);
return calendar.get(1) - 2000;
}

public static int c()
{
Date date = new Date(System.currentTimeMillis());
Calendar calendar;
(calendar = Calendar.getInstance()).setTime(date);
return calendar.get(5);
}

public static void a(String s, int i)
{
if(i == 1)
{
a(s);
return;
}
if(i == 6)
{
SinaPalmlet.f().k();
return;
}
if(i == 7)
{
SinaPalmlet.f().j();
return;
}
if(i == 9)
SinaPalmlet.f().i();
}
}

论坛徽章:
6
CU大牛徽章
日期:2013-04-17 10:59:39CU大牛徽章
日期:2013-04-17 11:01:45CU大牛徽章
日期:2013-04-17 11:02:15CU大牛徽章
日期:2013-04-17 11:02:36CU大牛徽章
日期:2013-04-17 11:02:582015年辞旧岁徽章
日期:2015-03-03 16:54:15
2 [报告]
发表于 2008-01-01 13:21 |只看该作者
反编译的?既然别人不开源就不要强求嘛
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP