Org.BouncyCastle.Crypto.Parameters.DsaParameters.GetHashCode C# (CSharp) Method

GetHashCode() public method

public GetHashCode ( ) : int
return int
		public override int GetHashCode()
        {
			return p.GetHashCode() ^ q.GetHashCode() ^ g.GetHashCode();
        }
    }

Usage Example

Beispiel #1
0
        public override int GetHashCode()
        {
            int hc = base.GetHashCode();

            if (parameters != null)
            {
                hc ^= parameters.GetHashCode();
            }

            return(hc);
        }