public override bool Equals(object?obj) { return(obj is SnapshotReference other && Salt.SequenceEqual(other.Salt) && Iterations == other.Iterations && ContentUris.SequenceEqual(other.ContentUris)); }
public bool Equals(SecuredPassword comparison) { if (Hash.SequenceEqual(comparison.Hash) && Salt.SequenceEqual(comparison.Salt)) { return(true); } return(false); }
protected bool Equals(CiphertextDto other) { return(Id.Equals(other.Id) && Ciphertext.SequenceEqual(other.Ciphertext) && InitializationVector.SequenceEqual(other.InitializationVector) && Salt.SequenceEqual(other.Salt) && Deleted.Equals(other.Deleted)); }
protected bool Equals(HashedPassword other) { if (ReferenceEquals(null, this)) { return(ReferenceEquals(null, other)); } if (ReferenceEquals(null, other)) { return(false); } return(Hash.SequenceEqual(other.Hash) && Salt.SequenceEqual(other.Salt) && Iterations == other.Iterations && Equals(Prf, other.Prf)); }
public bool Equals(HashedPassword other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return((Hash?.SequenceEqual(other.Hash) ?? false) && (Salt?.SequenceEqual(other.Salt) ?? false) && IterationCount == other.IterationCount); }