VMOS Pro v2.9.9版本的 MD5 值为:42f292af86d02c1a08555cf2d3982a52
以下内容为反编译后的 AESUtils.java 源代码,内容仅作参考
package com.mobile.auth.gatewayauth.utils;
import com.mobile.auth.gatewayauth.annotations.SafeProtector;
import javax.crypto.spec.IvParameterSpec;
import javax.crypto.spec.SecretKeySpec;
@SafeProtector
public class AESUtils {
private static final String CipherMode = "AES/CBC/PKCS7Padding";
static {
System.loadLibrary("auth_number_product-2.12.3.4-nolog-online-standard-channel_alijtca_plus");
}
private static native IvParameterSpec createIV(String str);
private static native SecretKeySpec createKey(String str);
public static native String decrypt(String str, String str2);
public static native byte[] decryptBase642Byte(String str, String str2, String str3);
public static native String decryptBase642String(String str, String str2, String str3);
public static native byte[] decryptByte2Byte(byte[] bArr, String str, String str2);
public static native String decryptByte2String(byte[] bArr, String str, String str2);
public static native byte[] decryptString2Byte(String str, String str2, String str3);
public static native String encrypt(String str, String str2);
public static native String encryptByte2Base64(byte[] bArr, String str, String str2);
public static native byte[] encryptByte2Byte(byte[] bArr, String str, String str2);
public static native String encryptByte2String(byte[] bArr, String str, String str2);
public static native String encryptString2Base64(String str, String str2, String str3);
public static native byte[] encryptString2Byte(String str, String str2, String str3);
public static native String encryptString2String(String str, String str2, String str3);
}