Skip to main content

Standard curve database

Search

w-255-mers

255-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
p0x7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd03
a0x7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd00
b-0x51bd
n0x7fffffffffffffffffffffffffffffff864a38283ad2b3dfab8fac983c594aeb
h0x01


SAGE

p = 0x7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd03
K = GF(p)
a = K(0x7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd00)
b = K(-0x51bd)
E = EllipticCurve(K, (a, b))
# No generator defined
E.set_order(0x7fffffffffffffffffffffffffffffff864a38283ad2b3dfab8fac983c594aeb * 0x01)

PARI/GP

p = 0x7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd03
a = Mod(0x7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd00, p)
b = Mod(-0x51bd, p)
E = ellinit([a, b])
E[16][1] = 0x7fffffffffffffffffffffffffffffff864a38283ad2b3dfab8fac983c594aeb * 0x01
\\ No generator defined

JSON

{
"name": "w-255-mers",
"desc": "Curve from https://eprint.iacr.org/2014/130.pdf. No generator present.",
"form": "Weierstrass",
"field": {
"type": "Prime",
"p": "0x7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd03",
"bits": 255
},
"params": {
"a": {
"raw": "0x7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd00"
},
"b": {
"raw": "-0x51bd"
}
},
"order": "0x7fffffffffffffffffffffffffffffff864a38283ad2b3dfab8fac983c594aeb",
"cofactor": "0x01"
}

© 2020 Jan Jancar | Built with Dox theme for Gatsby