package di;

import ei.k;
import java.security.MessageDigest;
import jh.f;

/* loaded from: classes4.dex */
public final class b implements f {

    /* renamed from: b, reason: collision with root package name */
    private final Object f16302b;

    public b(Object obj) {
        this.f16302b = k.d(obj);
    }

    @Override // jh.f
    public void a(MessageDigest messageDigest) {
        messageDigest.update(this.f16302b.toString().getBytes(f.f24974a));
    }

    @Override // jh.f
    public boolean equals(Object obj) {
        if (obj instanceof b) {
            return this.f16302b.equals(((b) obj).f16302b);
        }
        return false;
    }

    @Override // jh.f
    public int hashCode() {
        return this.f16302b.hashCode();
    }

    public String toString() {
        return "ObjectKey{object=" + this.f16302b + '}';
    }
}
