Skip to main content

Standard curve database

Search

BADA55-VPR2-224

224-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
p0xffffffffffffffffffffffffffffffff000000000000000000000001
a0x8f0ff20e1e3cf4905d492e04110683948bfc236790bbb59e6e6b33f24f348ed2e16c64ee79f9fd27e9a367ff6415b41189e4fb6bada555455dc44c4f87011eef
b0xe85067a95547e30661c854a43ed80f36289043ffc73da78a97e37fb96a2717009088656b948865a660ff3959330d8a1ca1e4de31b7b7d496a4cde555e57d05c
n0xffffffffffffffffffffffffffffdf5c0319f61dc6ccebe902bc220f
h0x01


SAGE

p = 0xffffffffffffffffffffffffffffffff000000000000000000000001
K = GF(p)
a = K(0x8f0ff20e1e3cf4905d492e04110683948bfc236790bbb59e6e6b33f24f348ed2e16c64ee79f9fd27e9a367ff6415b41189e4fb6bada555455dc44c4f87011eef)
b = K(0xe85067a95547e30661c854a43ed80f36289043ffc73da78a97e37fb96a2717009088656b948865a660ff3959330d8a1ca1e4de31b7b7d496a4cde555e57d05c)
E = EllipticCurve(K, (a, b))
# No generator defined
E.set_order(0xffffffffffffffffffffffffffffdf5c0319f61dc6ccebe902bc220f * 0x01)

PARI/GP

p = 0xffffffffffffffffffffffffffffffff000000000000000000000001
a = Mod(0x8f0ff20e1e3cf4905d492e04110683948bfc236790bbb59e6e6b33f24f348ed2e16c64ee79f9fd27e9a367ff6415b41189e4fb6bada555455dc44c4f87011eef, p)
b = Mod(0xe85067a95547e30661c854a43ed80f36289043ffc73da78a97e37fb96a2717009088656b948865a660ff3959330d8a1ca1e4de31b7b7d496a4cde555e57d05c, p)
E = ellinit([a, b])
E[16][1] = 0xffffffffffffffffffffffffffffdf5c0319f61dc6ccebe902bc220f * 0x01
\\ No generator defined

JSON

{
"name": "BADA55-VPR2-224",
"desc": "BADA55 curve from the https://bada55.cr.yp.to/bada55-20150927.pdf",
"form": "Weierstrass",
"field": {
"type": "Prime",
"p": "0xffffffffffffffffffffffffffffffff000000000000000000000001",
"bits": 224
},
"params": {
"a": {
"raw": "0x8f0ff20e1e3cf4905d492e04110683948bfc236790bbb59e6e6b33f24f348ed2e16c64ee79f9fd27e9a367ff6415b41189e4fb6bada555455dc44c4f87011eef"
},
"b": {
"raw": "0xe85067a95547e30661c854a43ed80f36289043ffc73da78a97e37fb96a2717009088656b948865a660ff3959330d8a1ca1e4de31b7b7d496a4cde555e57d05c"
}
},
"order": "0xffffffffffffffffffffffffffffdf5c0319f61dc6ccebe902bc220f",
"cofactor": "0x01"
}

© 2020 Jan Jancar | Built with Dox theme for Gatsby