/// <summary> /// Calculate 2^X mod P /// </summary> private void GenerateY() { _y = ModuloCalculator.Calculate(ModuloCalculator.Two, _x); }
protected virtual void DoneReceiveY() { S = ModuloCalculator.Calculate(_otherY, _x); }