Skip to main content

Standard curve database

Search

Fp512BN

512-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
p0xfffffffffffffffffffffffffff9ec7f01c60ba1d8cb5307c0bbe3c111b0ef455146cf1eacbe98b8e48c65deab236fe1916a55ce5f4c6467b4eb280922adef33
a0x00
b0x03
G(0x01, 0x02)
n0xfffffffffffffffffffffffffff9ec7f01c60ba1d8cb5307c0bbe3c111b0ef445146cf1eacbe98b8e48c65deab2679a34a10313e04f9a2b406a64a5f519a09ed
h0x01

Characteristics

  • j-invariant:
    0
  • Trace of Frobenius:
    115792089237316195423570985008687840101103879741288409693302319863988063823175
  • Discriminant:
    13407807929942597099574024998205830437246153344875111580494527427714590099881795845981157516604994291639750834285779043186149750164319950153126044364562435

SAGE

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

PARI/GP

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

JSON

{
"name": "Fp512BN",
"desc": "Curve described in https://www.iso.org/standard/80241.html",
"form": "Weierstrass",
"field": {
"type": "Prime",
"p": "0xfffffffffffffffffffffffffff9ec7f01c60ba1d8cb5307c0bbe3c111b0ef455146cf1eacbe98b8e48c65deab236fe1916a55ce5f4c6467b4eb280922adef33",
"bits": 512
},
"params": {
"a": {
"raw": "0x00"
},
"b": {
"raw": "0x03"
}
},
"generator": {
"x": {
"raw": "0x01"
},
"y": {
"raw": "0x02"
}
},
"order": "0xfffffffffffffffffffffffffff9ec7f01c60ba1d8cb5307c0bbe3c111b0ef445146cf1eacbe98b8e48c65deab2679a34a10313e04f9a2b406a64a5f519a09ed",
"cofactor": "0x01",
"characteristics": {
"j_invariant": "0",
"discriminant": "13407807929942597099574024998205830437246153344875111580494527427714590099881795845981157516604994291639750834285779043186149750164319950153126044364562435",
"trace_of_frobenius": "115792089237316195423570985008687840101103879741288409693302319863988063823175"
}
}

© 2020 Jan Jancar | Built with Dox theme for Gatsby