public override bool Equals(object obj) { PrivPoly other = (PrivPoly)obj; if (obj == null || GetType() != obj.GetType()) { return(false); } if (this.product_flag == other.product_flag) { // if (this.product_flag > 0) // this. } else { return(false); } return(true); }
public static PrivateKey Default() { return(new PrivateKey(0, PrivPoly.Default())); }
public PrivateKey(ushort q, PrivPoly t) { this.q = q; this.t = t; }