Exemplo n.º 1
0
 public PointBelongsToCurves(ICurveEquation curveEquation)
 {
     _curveEquation = curveEquation;
     a      = curveEquation.A;
     b      = curveEquation.B;
     modulo = curveEquation.Modulo;
 }
Exemplo n.º 2
0
        public ShowInConsole(ICurveEquation curveEquation,
                             IPointBelongsToCurves pointBelongsToCurves, IPointsMath pointMath)
        {
            _curveEquation        = curveEquation;
            _pointBelongsToCurves = pointBelongsToCurves;
            _pointMath            = pointMath;

            pointP = pointBelongsToCurves.GetPointCurvesContain();
            pointQ = pointBelongsToCurves.GetPointCurvesContain();
        }
Exemplo n.º 3
0
 public PointsMath(ICurveEquation curveEquation)
 {
     _curveEquation = curveEquation;
     modulo         = curveEquation.Modulo;
     a = curveEquation.A;
 }
Exemplo n.º 4
0
 public Encrypt(ICurveEquation curveEquation)
 {
     A      = curveEquation.A;
     B      = curveEquation.B;
     modulo = curveEquation.Modulo;
 }