コード例 #1
0
        public void NegateTest()
        {
            BigInt xA = new BigInt("489a03c58dcf7fcfc97e99ffef0bb4634", 16);
            BigInt yA = new BigInt("510c6972d795ec0c2b081b81de767f808", 16);
            BigInt xE = new BigInt("489a03c58dcf7fcfc97e99ffef0bb4634", 16);
            BigInt yE = new BigInt("6ef3968d286a13f3d4f7e47e2186807eb", 16);
            Point  a  = new Point(xA, yA);
            Point  e  = new Point(xE, yE);

            Assert.AreEqual(e, curve.Negate(a));
        }