Beispiel #1
0
        public void SubtractTest()
        {
            BigInt xA = new BigInt("489a03c58dcf7fcfc97e99ffef0bb4634", 16);
            BigInt yA = new BigInt("510c6972d795ec0c2b081b81de767f808", 16);
            BigInt xB = new BigInt("417b9d98f934b571bffaed8d2968f6d67", 16);
            BigInt yB = new BigInt("6339a332da64ca233033eace4d6bdafdf", 16);
            Point  a  = new Point(xA, yA);
            Point  b  = new Point(xB, yB);

            Assert.AreEqual(a, curve.Subtract(b, a));
        }