Skip to main content

Standard curve database

Search

BADA55-VR-256

256-bit prime field Weierstrass curve.

BADA55 curve from the https://bada55.cr.yp.to/bada55-20150927.pdf


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

Parameters

NameValue
p0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff
a0xffffffff00000001000000000000000000000000fffffffffffffffffffffffc
b0xbada55ecd8bbead3add6c534f92197deb47fceb9be7e0e702a8d1dd56b5d0b0c
n0xffffffff00000000fffffffffffffffebedc2797003336661a49d76a903bdb91
h0x01

Characteristics

  • Seed:
    0x3adcc48e36f1d1926701417f101a75f000118a739d4686e77278325a825aa3c6

SAGE

p = 0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff
K = GF(p)
a = K(0xffffffff00000001000000000000000000000000fffffffffffffffffffffffc)
b = K(0xbada55ecd8bbead3add6c534f92197deb47fceb9be7e0e702a8d1dd56b5d0b0c)
E = EllipticCurve(K, (a, b))
# No generator defined
E.set_order(0xffffffff00000000fffffffffffffffebedc2797003336661a49d76a903bdb91 * 0x01)

PARI/GP

p = 0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff
a = Mod(0xffffffff00000001000000000000000000000000fffffffffffffffffffffffc, p)
b = Mod(0xbada55ecd8bbead3add6c534f92197deb47fceb9be7e0e702a8d1dd56b5d0b0c, p)
E = ellinit([a, b])
E[16][1] = 0xffffffff00000000fffffffffffffffebedc2797003336661a49d76a903bdb91 * 0x01
\\ No generator defined

JSON

{
"name": "BADA55-VR-256",
"desc": "BADA55 curve from the https://bada55.cr.yp.to/bada55-20150927.pdf",
"form": "Weierstrass",
"field": {
"type": "Prime",
"p": "0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff",
"bits": 256
},
"params": {
"a": {
"raw": "0xffffffff00000001000000000000000000000000fffffffffffffffffffffffc"
},
"b": {
"raw": "0xbada55ecd8bbead3add6c534f92197deb47fceb9be7e0e702a8d1dd56b5d0b0c"
}
},
"order": "0xffffffff00000000fffffffffffffffebedc2797003336661a49d76a903bdb91",
"cofactor": "0x01",
"characteristics": {
"seed": "0x3adcc48e36f1d1926701417f101a75f000118a739d4686e77278325a825aa3c6"
}
}

© 2020 Jan Jancar | Built with Dox theme for Gatsby