Skip to main content

Standard curve database

Search

w-382-mont

382-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
p0x3ffaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
a0x3ffafffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc
b-0x20a72
n0x3ffaffffffffffffffffffffffffffffffffffffffffffffa6eb1cff4bde214d73b321ffd8e82cd160ab86803ebb301d
h0x01


SAGE

p = 0x3ffaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
K = GF(p)
a = K(0x3ffafffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc)
b = K(-0x20a72)
E = EllipticCurve(K, (a, b))
# No generator defined
E.set_order(0x3ffaffffffffffffffffffffffffffffffffffffffffffffa6eb1cff4bde214d73b321ffd8e82cd160ab86803ebb301d * 0x01)

PARI/GP

p = 0x3ffaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
a = Mod(0x3ffafffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc, p)
b = Mod(-0x20a72, p)
E = ellinit([a, b])
E[16][1] = 0x3ffaffffffffffffffffffffffffffffffffffffffffffffa6eb1cff4bde214d73b321ffd8e82cd160ab86803ebb301d * 0x01
\\ No generator defined

JSON

{
"name": "w-382-mont",
"desc": "Curve from https://eprint.iacr.org/2014/130.pdf. No generator present.",
"form": "Weierstrass",
"field": {
"type": "Prime",
"p": "0x3ffaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
"bits": 382
},
"params": {
"a": {
"raw": "0x3ffafffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc"
},
"b": {
"raw": "-0x20a72"
}
},
"order": "0x3ffaffffffffffffffffffffffffffffffffffffffffffffa6eb1cff4bde214d73b321ffd8e82cd160ab86803ebb301d",
"cofactor": "0x01"
}

© 2020 Jan Jancar | Built with Dox theme for Gatsby