public PointBelongsToCurves(ICurveEquation curveEquation) { _curveEquation = curveEquation; a = curveEquation.A; b = curveEquation.B; modulo = curveEquation.Modulo; }
public ShowInConsole(ICurveEquation curveEquation, IPointBelongsToCurves pointBelongsToCurves, IPointsMath pointMath) { _curveEquation = curveEquation; _pointBelongsToCurves = pointBelongsToCurves; _pointMath = pointMath; pointP = pointBelongsToCurves.GetPointCurvesContain(); pointQ = pointBelongsToCurves.GetPointCurvesContain(); }
public PointsMath(ICurveEquation curveEquation) { _curveEquation = curveEquation; modulo = curveEquation.Modulo; a = curveEquation.A; }
public Encrypt(ICurveEquation curveEquation) { A = curveEquation.A; B = curveEquation.B; modulo = curveEquation.Modulo; }