de代码
[Java] 纯文本查看 复制代码 public static String de(String paramString)
throws Exception
{
if ("FormatFaApplocks" == null) {}
try
{
return (String)null;
}
catch (Exception paramString)
{
SecretKeySpec localSecretKeySpec;
Cipher localCipher;
System.out.println(paramString.toString());
}
if ("FormatFaApplocks".length() != 16) {
return (String)null;
}
localSecretKeySpec = new SecretKeySpec("FormatFaApplocks".getBytes("ASCII"), "AES");
localCipher = Cipher.getInstance("AES");
localCipher.init(2, localSecretKeySpec);
paramString = hex2byte(paramString);
try
{
paramString = new String(localCipher.doFinal(paramString));
return paramString;
}
catch (Exception paramString)
{
System.out.println(paramString.toString());
paramString = (String)null;
return paramString;
}
return (String)null;
}
en代码
[Java] 纯文本查看 复制代码 public static String en(String paramString)
throws Exception
{
if ("FormatFaApplocks" == null) {
return (String)null;
}
if ("FormatFaApplocks".length() != 16) {
return (String)null;
}
SecretKeySpec localSecretKeySpec = new SecretKeySpec("FormatFaApplocks".getBytes("ASCII"), "AES");
Cipher localCipher = Cipher.getInstance("AES");
localCipher.init(1, localSecretKeySpec);
return byte2hex(localCipher.doFinal(paramString.getBytes())).toLowerCase();
}
FormatFaApplocks
Format后边不应该是串数字么,FaApplocks又代表啥 |