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

20 lines
621 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.util.Base64;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import org.bouncycastle.pqc.jcajce.spec.McElieceCCA2KeyGenParameterSpec;
/* loaded from: classes.dex */
public final class bEA {
public static String e(byte[] bArr) {
try {
MessageDigest messageDigest = MessageDigest.getInstance(McElieceCCA2KeyGenParameterSpec.SHA256);
messageDigest.update(bArr);
return Base64.encodeToString(messageDigest.digest(), 11);
} catch (NoSuchAlgorithmException unused) {
return "";
}
}
}