看个比赛 v1.5.8版本的 MD5 值为:bae84dbc8ef3ad62286d0d7fe5c3e37f
以下内容为反编译后的 g1.java 源代码,内容仅作参考
package com.zx.a.I8b7;
import android.util.Base64;
import com.tencent.connect.common.Constants;
import com.zx.a.I8b7.a1;
import com.zx.module.annotation.Java2C;
import java.security.SecureRandom;
import java.util.HashMap;
import javax.crypto.SecretKey;
import org.json.JSONObject;
public class g1 {
public static SecretKey a;
public static byte[] b;
public static final SecureRandom c = new SecureRandom();
@Java2C.Method2C
public static native synchronized String a();
@Java2C.Method2C
private static native String a(JSONObject jSONObject, String str, String str2) throws Exception;
public static String b(JSONObject jSONObject, String str, String str2) throws Exception {
a1.a aVar = new a1.a();
HashMap<String, String> b2 = w.b(a());
aVar.c.clear();
aVar.c.putAll(b2);
a1.a a2 = aVar.a("https://zxid-m.mobileservice.cn/sdk/uaid/get");
a2.b = Constants.HTTP_POST;
a2.d = c1.a(m0.b("application/json; charset=utf-8"), a(jSONObject, str, str2));
a2.e = "said get api";
v1 v1Var = w.a;
a1 a1Var = new a1(aVar);
v1Var.getClass();
d1 a3 = new t0(v1Var, a1Var).a();
if (a3.b == 200) {
return new JSONObject(j.a(Base64.decode(new JSONObject(a3.e.b()).getString("data"), 2), a, "UDID_ENC_AUTHTAG")).getString("uaid");
}
throw new RuntimeException("response errCode: " + a3.a("Udid-Error-Code") + ", errMsg: " + a3.a("Udid-Error-Message"));
}
}