Skip to main content

Standard curve database

Search

Fp256BN

256-bit prime field Weierstrass curve.

Curve described in https://www.iso.org/standard/80241.html


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

Parameters

NameValue
p0xfffffffffffcf0cd46e5f25eee71a49f0cdc65fb12980a82d3292ddbaed33013
a0x00
b0x03
G(0x01, 0x02)
n0xfffffffffffcf0cd46e5f25eee71a49e0cdc65fb1299921af62d536cd10b500d
h0x01

Characteristics

  • j-invariant:
    0
  • Trace of Frobenius:
    340282366920936614211651523200128901127
  • Discriminant:
    115792089237314936872688561244471742058375878355761205198700409522629664514275
  • Anomalous:
    false
  • Supersingular:
    false
  • Embedding degree:
    12
  • CM-discriminant:
    2058526030885598877736685533235053192147392138027217263024844384743637907429
  • Conductor:
    15

SAGE

p = 0xfffffffffffcf0cd46e5f25eee71a49f0cdc65fb12980a82d3292ddbaed33013
K = GF(p)
a = K(0x00)
b = K(0x03)
E = EllipticCurve(K, (a, b))
G = E(0x01, 0x02)
E.set_order(0xfffffffffffcf0cd46e5f25eee71a49e0cdc65fb1299921af62d536cd10b500d * 0x01)

PARI/GP

p = 0xfffffffffffcf0cd46e5f25eee71a49f0cdc65fb12980a82d3292ddbaed33013
a = Mod(0x00, p)
b = Mod(0x03, p)
E = ellinit([a, b])
E[16][1] = 0xfffffffffffcf0cd46e5f25eee71a49e0cdc65fb1299921af62d536cd10b500d * 0x01
G = [Mod(0x01, p), Mod(0x02, p)]

JSON

{
"name": "Fp256BN",
"desc": "Curve described in https://www.iso.org/standard/80241.html",
"form": "Weierstrass",
"field": {
"type": "Prime",
"p": "0xfffffffffffcf0cd46e5f25eee71a49f0cdc65fb12980a82d3292ddbaed33013",
"bits": 256
},
"params": {
"a": {
"raw": "0x00"
},
"b": {
"raw": "0x03"
}
},
"generator": {
"x": {
"raw": "0x01"
},
"y": {
"raw": "0x02"
}
},
"order": "0xfffffffffffcf0cd46e5f25eee71a49e0cdc65fb1299921af62d536cd10b500d",
"cofactor": "0x01",
"characteristics": {
"j_invariant": "0",
"anomalous": false,
"cm_disc": "2058526030885598877736685533235053192147392138027217263024844384743637907429",
"conductor": "15",
"discriminant": "115792089237314936872688561244471742058375878355761205198700409522629664514275",
"embedding_degree": "12",
"torsion_degrees": [
{
"full": 3,
"least": 3,
"r": 2
},
{
"full": 6,
"least": 2,
"r": 3
},
{
"full": 24,
"least": 24,
"r": 5
}
],
"supersingular": false,
"trace_of_frobenius": "340282366920936614211651523200128901127"
}
}

© 2020 Jan Jancar | Built with Dox theme for Gatsby