com.xes.jazhanghui.activity == 7.54.1
public final String getAesStr(String str) {
String str2;
Intrinsics.checkNotNullParameter(str, "str");
try {
if (TextUtils.isEmpty(str)) {
str2 = "";
} else {
byte[] bytes = str.getBytes(Charsets.UTF_8);
Intrinsics.checkNotNullExpressionValue(bytes, "(this as java.lang.String).getBytes(charset)");
str2 = Base64.encodeToString(AES.bytesEncryptWithRawPassWord(bytes, XesSafeSystemUtils.p, "AES/CBC/PKCS5Padding", XesSafeSystemUtils.iv), 2);
}
Intrinsics.checkNotNullExpressionValue(str2, "if (!TextUtils.isEmpty(s… } else \"\"");
return str2;
} catch (Exception e) {
e.printStackTrace();
return "";
}
}