package com.google.android.gms.internal.p002firebaseauthapi; import java.security.GeneralSecurityException; import java.security.MessageDigest; import java.security.Provider; /* loaded from: classes2.dex */ public final class zzqf implements zzqh { @Override // com.google.android.gms.internal.p002firebaseauthapi.zzqh public final /* synthetic */ Object zza(String str, Provider provider) throws GeneralSecurityException { if (provider == null) { return MessageDigest.getInstance(str); } return MessageDigest.getInstance(str, provider); } }