Skip to main content

Standard curve database

Search

bn158

158-bit prime field Weierstrass curve.
y2x3+ax+by^2 \equiv x^3 + ax + b

Parameters

NameValue
p0x24240D8241D5445106C8442084001384E0000013
a0x0000000000000000000000000000000000000000
b0x0000000000000000000000000000000000000011
G(0x24240D8241D5445106C8442084001384E0000012, 0x0000000000000000000000000000000000000004)
n0x24240D8241D5445106C7E3F07E0010842000000D
h0x01

Characteristics

  • j-invariant:
    0
  • Trace of Frobenius:
    454233058419889982668807
  • Discriminant:
    206327671360737302491015800744139033450590902371
  • Anomalous:
    false
  • Supersingular:
    false
  • Embedding degree:
    12
  • CM-discriminant:
    825310685442949209964062748743497713912381440069
  • Conductor:
    1

SAGE

p = 0x24240D8241D5445106C8442084001384E0000013
K = GF(p)
a = K(0x0000000000000000000000000000000000000000)
b = K(0x0000000000000000000000000000000000000011)
E = EllipticCurve(K, (a, b))
G = E(0x24240D8241D5445106C8442084001384E0000012, 0x0000000000000000000000000000000000000004)
E.set_order(0x24240D8241D5445106C7E3F07E0010842000000D * 0x01)

PARI/GP

p = 0x24240D8241D5445106C8442084001384E0000013
a = Mod(0x0000000000000000000000000000000000000000, p)
b = Mod(0x0000000000000000000000000000000000000011, p)
E = ellinit([a, b])
E[16][1] = 0x24240D8241D5445106C7E3F07E0010842000000D * 0x01
G = [Mod(0x24240D8241D5445106C8442084001384E0000012, p), Mod(0x0000000000000000000000000000000000000004, p)]

JSON

{
"name": "bn158",
"desc": "",
"form": "Weierstrass",
"field": {
"type": "Prime",
"p": "0x24240D8241D5445106C8442084001384E0000013",
"bits": 158
},
"params": {
"a": {
"raw": "0x0000000000000000000000000000000000000000"
},
"b": {
"raw": "0x0000000000000000000000000000000000000011"
}
},
"generator": {
"x": {
"raw": "0x24240D8241D5445106C8442084001384E0000012"
},
"y": {
"raw": "0x0000000000000000000000000000000000000004"
}
},
"order": "0x24240D8241D5445106C7E3F07E0010842000000D",
"cofactor": "0x01",
"characteristics": {
"j_invariant": "0",
"anomalous": false,
"cm_disc": "825310685442949209964062748743497713912381440069",
"conductor": "1",
"discriminant": "206327671360737302491015800744139033450590902371",
"embedding_degree": "12",
"torsion_degrees": [
{
"full": 3,
"least": 3,
"r": 2
},
{
"full": 6,
"least": 2,
"r": 3
},
{
"full": 12,
"least": 12,
"r": 5
},
{
"full": 6,
"least": 6,
"r": 7
}
],
"supersingular": false,
"trace_of_frobenius": "454233058419889982668807"
}
}

© 2020 Jan Jancar | Built with Dox theme for Gatsby