package o; import android.util.Base64; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import org.bouncycastle.pqc.jcajce.spec.McElieceCCA2KeyGenParameterSpec; /* loaded from: classes2.dex */ public final class pdQ { public static String a(byte[] bArr) { try { MessageDigest messageDigest = MessageDigest.getInstance(McElieceCCA2KeyGenParameterSpec.SHA256); messageDigest.update(bArr); return Base64.encodeToString(messageDigest.digest(), 11); } catch (NoSuchAlgorithmException unused) { return ""; } } }