what-the-bank/sources/o/UjT.java

59 lines
1.6 KiB
Java

package o;
import org.json.JSONException;
import org.json.JSONObject;
/* loaded from: classes3.dex */
public final class UjT {
JSONObject d;
/* JADX INFO: Access modifiers changed from: package-private */
public UjT() {
JSONObject jSONObject = new JSONObject();
this.d = jSONObject;
try {
jSONObject.put("hash", false);
try {
this.d.put("symmetric", false);
} catch (JSONException e) {
throw new RuntimeException(e);
}
} catch (JSONException e2) {
throw new RuntimeException(e2);
}
}
public final UjT e(String str) {
try {
this.d.put("hash", true);
try {
this.d.put("hashAlgo", str);
return this;
} catch (JSONException e) {
throw new RuntimeException(e);
}
} catch (JSONException e2) {
throw new RuntimeException(e2);
}
}
public final UjT b(String str, int i) {
try {
this.d.put("symmetric", true);
try {
this.d.put("symmetricAlgo", str);
try {
this.d.put("symmetricKeyLength", i);
return this;
} catch (JSONException e) {
throw new RuntimeException(e);
}
} catch (JSONException e2) {
throw new RuntimeException(e2);
}
} catch (JSONException e3) {
throw new RuntimeException(e3);
}
}
}