コード例 #1
0
 public SecP160K1Curve() : base(q)
 {
     this.m_infinity = new SecP160K1Point(this, null, null);
     base.m_a        = this.FromBigInteger(BigInteger.Zero);
     base.m_b        = this.FromBigInteger(BigInteger.ValueOf(7L));
     base.m_order    = new BigInteger(1, Hex.Decode("0100000000000000000001B8FA16DFAB9ACA16B6B3"));
     base.m_cofactor = BigInteger.One;
     base.m_coord    = 2;
 }
コード例 #2
0
        public SecP160K1Curve()
            : base(q)
        {
            this.m_infinity = new SecP160K1Point(this, null, null);

            this.m_a        = FromBigInteger(BigInteger.Zero);
            this.m_b        = FromBigInteger(BigInteger.ValueOf(7));
            this.m_order    = new BigInteger(1, Hex.Decode("0100000000000000000001B8FA16DFAB9ACA16B6B3"));
            this.m_cofactor = BigInteger.One;
            this.m_coord    = SECP160K1_DEFAULT_COORDS;
        }
コード例 #3
0
        public SecP160K1Curve()
            : base(q)
        {
            this.m_infinity = new SecP160K1Point(this, null, null);

            this.m_a = FromBigInteger(BigInteger.Zero);
            this.m_b = FromBigInteger(BigInteger.ValueOf(7));
            this.m_order = new BigInteger(1, Hex.Decode("0100000000000000000001B8FA16DFAB9ACA16B6B3"));
            this.m_cofactor = BigInteger.One;
            this.m_coord = SECP160K1_DEFAULT_COORDS;
        }