Exemple #1
0
        public override bool Equals(
            object obj)
        {
            if (obj == this)
            {
                return(true);
            }

            ElGamalKeyParameters other = obj as ElGamalKeyParameters;

            if (other == null)
            {
                return(false);
            }

            return(Equals(other));
        }
Exemple #2
0
 protected bool Equals(
     ElGamalKeyParameters other)
 {
     return(Platform.Equals(parameters, other.parameters) &&
            base.Equals(other));
 }