android EnMicroMsg.db安卓微信数据库获得密码的源码
//主要实现过程,其中paramString2为手机串号,paramLong为uinthis.cSb = getMessageDigest((paramString2 + paramLong).getBytes()).substring(0, 7);
String str = "PRAGMA key=\"" + this.cSb + "\";";
//
package com.gracecode.android.signature.wechat;
import java.security.MessageDigest;
public final class MD5
{
public static final String getMessageDigest(byte[] paramArrayOfByte)
{
char[] arrayOfChar1 = { 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 97, 98, 99, 100, 101, 102 };
try
{
MessageDigest localMessageDigest = MessageDigest.getInstance("MD5");
localMessageDigest.update(paramArrayOfByte);
byte[] arrayOfByte = localMessageDigest.digest();
int i = arrayOfByte.length;
char[] arrayOfChar2 = new char;
int j = 0;
int k = 0;
while (true)
{
if (j >= i)
return new String(arrayOfChar2);
int m = arrayOfByte;
int n = k + 1;
arrayOfChar2 = arrayOfChar1[(0xF & m >>> 4)];
k = n + 1;
arrayOfChar2 = arrayOfChar1[(m & 0xF)];
j++;
}
}
catch (Exception localException)
{
}
return null;
} 会编程的都是高手,问下,这个源码用啥软件生成?? 支持一下! 求找UIN的工具,
页:
[1]