コード例 #1
0
ファイル: GMNamedCurves.cs プロジェクト: arvindixonos/Zain360
        private static X9ECPoint ConfigureBasepoint(ECCurve curve, string encoding)
        {
            X9ECPoint G = new X9ECPoint(curve, Hex.DecodeStrict(encoding));

            WNafUtilities.ConfigureBasepoint(G.Point);
            return(G);
        }
コード例 #2
0
        private static ECPoint ConfigureBasepoint(ECCurve curve, BigInteger x, BigInteger y)
        {
            ECPoint G = curve.CreatePoint(x, y);

            WNafUtilities.ConfigureBasepoint(G);
            return(G);
        }