36 lines
1.4 KiB
Java
36 lines
1.4 KiB
Java
package com.baidu.license.util;
|
|
|
|
import java.nio.charset.StandardCharsets;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class SecretUtil {
|
|
static {
|
|
System.loadLibrary("license");
|
|
}
|
|
|
|
static String a() {
|
|
String concat = "MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBALCwRZyG7UhmHNjqeWmnqBmYG0Q49SRdd2NZgVY+AYOJeUcmR1Drpuh/++30mBV2qu1Db94/fHNfjw".concat("BPqfHGM062hnYQ5NFe84Uj6OAWg3IieuMzwq6HRTROUIH2muGi1glcpjxaZquQOODT0ont1lDamcRvDgnUqByOz6lynbuBAgMBAAECgYEAkmxSE+iBJZlx2JVfrp5BI");
|
|
String str = new String(a("Kk%_9fpjP}fSG~Sv\\*Z#QW]B#vYxXJf{C|tTbQ!bV|\u007fHb9JA}Sy]#j$|bP\u007fF`E}+=sU^DAq{FQFVkqYcJ^Ax#Ky`]w^Wu_`%=]Q@9|b[eB|uY\"uvVxP^${~+fJP'=w=eXC&".getBytes()));
|
|
String str2 = new String(getSecretByte(""), StandardCharsets.UTF_8);
|
|
String str3 = new String(getSecretByte2(), StandardCharsets.UTF_8);
|
|
return concat.concat(str.concat(str2).concat(str3).concat(new String(getSecretByte3(), StandardCharsets.UTF_8)));
|
|
}
|
|
|
|
private static native byte[] getSecretByte(String str);
|
|
|
|
private static native byte[] getSecretByte2();
|
|
|
|
private static native byte[] getSecretByte3();
|
|
|
|
private static byte[] a(byte[] bArr) {
|
|
if (bArr == null) {
|
|
return null;
|
|
}
|
|
int length = bArr.length;
|
|
for (int i = 0; i < length; i++) {
|
|
bArr[i] = (byte) (bArr[i] ^ 18);
|
|
}
|
|
return bArr;
|
|
}
|
|
}
|