package e6; import java.security.MessageDigest; /* loaded from: classes2.dex */ public final class i { /* renamed from: e, reason: collision with root package name */ private static final a f9364e = new b(); /* renamed from: a, reason: collision with root package name */ private final Object f9365a; /* renamed from: b, reason: collision with root package name */ private final a f9366b; /* renamed from: c, reason: collision with root package name */ private final String f9367c; /* renamed from: d, reason: collision with root package name */ private volatile byte[] f9368d; public interface a { void a(byte[] bArr, Object obj, MessageDigest messageDigest); } class b implements a { b() { } @Override // e6.i.a public void a(byte[] bArr, Object obj, MessageDigest messageDigest) { } } private i(String str, Object obj, a aVar) { this.f9367c = b7.j.b(str); this.f9365a = obj; this.f9366b = (a) b7.j.d(aVar); } private static a a() { return f9364e; } private byte[] b() { if (this.f9368d == null) { this.f9368d = this.f9367c.getBytes(h.f9363a); } return this.f9368d; } public static i c(String str, Object obj, a aVar) { return new i(str, obj, aVar); } public static i e(String str) { return new i(str, null, a()); } public static i f(String str, Object obj) { return new i(str, obj, a()); } public Object d() { return this.f9365a; } public boolean equals(Object obj) { if (obj instanceof i) { return this.f9367c.equals(((i) obj).f9367c); } return false; } public void g(Object obj, MessageDigest messageDigest) { this.f9366b.a(b(), obj, messageDigest); } public int hashCode() { return this.f9367c.hashCode(); } public String toString() { return "Option{key='" + this.f9367c + "'}"; } }