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

41 lines
1.2 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.text.TextUtils;
import java.io.UnsupportedEncodingException;
import java.security.GeneralSecurityException;
import java.security.NoSuchAlgorithmException;
import java.security.spec.InvalidKeySpecException;
import javax.crypto.SecretKey;
/* renamed from: o.iyo, reason: case insensitive filesystem */
/* loaded from: classes2.dex */
public final class C15841iyo implements InterfaceC14883gax {
private SecretKey b;
private boolean c = false;
private final WuW e;
@Override // o.InterfaceC14883gax
public final String c(String str, String str2) {
if (!this.c) {
try {
this.b = wac.c(this.e);
} catch (IllegalArgumentException | NoSuchAlgorithmException | InvalidKeySpecException unused) {
this.b = null;
}
this.c = true;
}
if (this.b != null && !TextUtils.isEmpty(str)) {
try {
return new String(wac.e(this.b, KzA.b(str)), "UTF-8");
} catch (UnsupportedEncodingException | IllegalArgumentException | GeneralSecurityException e) {
e.getMessage();
}
}
return str2;
}
public C15841iyo(WuW wuW) {
this.e = wuW;
}
}