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

GetHashCode() public method

public GetHashCode ( ) : int
return int
        public override int GetHashCode()
        {
            int hc = curve.GetHashCode();
            hc *= 37;
            hc ^= g.GetHashCode();
            hc *= 37;
            hc ^= n.GetHashCode();
            hc *= 37;
            hc ^= h.GetHashCode();
            return hc;
        }
    }

Usage Example

Esempio n. 1
0
 public override int GetHashCode()
 {
     return(parameters.GetHashCode() ^ base.GetHashCode());
 }