package o; import com.huawei.hms.android.HwBuildEx; import java.security.NoSuchAlgorithmException; import java.security.spec.InvalidKeySpecException; import javax.crypto.SecretKeyFactory; import javax.crypto.spec.PBEKeySpec; /* loaded from: classes2.dex */ public abstract class AeE { public static byte[] d(char[] cArr, byte[] bArr) { try { return SecretKeyFactory.getInstance("PBKDF2WithHmacSHA1").generateSecret(new PBEKeySpec(cArr, bArr, HwBuildEx.VersionCodes.CUR_DEVELOPMENT, 16)).getEncoded(); } catch (NoSuchAlgorithmException | InvalidKeySpecException e) { e.getMessage(); return new byte[0]; } } }