Skip to main content

Standard curve database

Search

w-256-mont

256-bit prime field Weierstrass curve.

Curve from https://eprint.iacr.org/2014/130.pdf. No generator present.


y2x3+ax+by^2 \equiv x^3 + ax + b

Parameters

NameValue
p0xffa7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
a0xffa7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc
b0x14e6a
n0xffa7fffffffffffffffffffffffffffffc517513e6e5074b9d10c5e1a79857eb
h0x01


SAGE

p = 0xffa7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
K = GF(p)
a = K(0xffa7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc)
b = K(0x14e6a)
E = EllipticCurve(K, (a, b))
# No generator defined
E.set_order(0xffa7fffffffffffffffffffffffffffffc517513e6e5074b9d10c5e1a79857eb * 0x01)

PARI/GP

p = 0xffa7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
a = Mod(0xffa7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc, p)
b = Mod(0x14e6a, p)
E = ellinit([a, b])
E[16][1] = 0xffa7fffffffffffffffffffffffffffffc517513e6e5074b9d10c5e1a79857eb * 0x01
\\ No generator defined

JSON

{
"name": "w-256-mont",
"desc": "Curve from https://eprint.iacr.org/2014/130.pdf. No generator present.",
"form": "Weierstrass",
"field": {
"type": "Prime",
"p": "0xffa7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
"bits": 256
},
"params": {
"a": {
"raw": "0xffa7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc"
},
"b": {
"raw": "0x14e6a"
}
},
"order": "0xffa7fffffffffffffffffffffffffffffc517513e6e5074b9d10c5e1a79857eb",
"cofactor": "0x01"
}

© 2020 Jan Jancar | Built with Dox theme for Gatsby