Skip to main content

Standard curve database

Search

ansip160k1

160-bit prime field Weierstrass curve.
Also known as: secp160k1
y2x3+ax+by^2 \equiv x^3 + ax + b

Parameters

NameValue
p0xfffffffffffffffffffffffffffffffeffffac73
a0x0
b0x7
G(0x3b4c382ce37aa192a4019e763036f4f5dd4d7ebb, 0x938cf935318fdced6bc28286531733c3f03c4fee)
n0x0100000000000000000001b8fa16dfab9aca16b6b3
h0x1

Characteristics

  • OID:
    1.3.132.0.9

SAGE

p = 0xfffffffffffffffffffffffffffffffeffffac73
K = GF(p)
a = K(0x0)
b = K(0x7)
E = EllipticCurve(K, (a, b))
G = E(0x3b4c382ce37aa192a4019e763036f4f5dd4d7ebb, 0x938cf935318fdced6bc28286531733c3f03c4fee)
E.set_order(0x0100000000000000000001b8fa16dfab9aca16b6b3 * 0x1)

PARI/GP

p = 0xfffffffffffffffffffffffffffffffeffffac73
a = Mod(0x0, p)
b = Mod(0x7, p)
E = ellinit([a, b])
E[16][1] = 0x0100000000000000000001b8fa16dfab9aca16b6b3 * 0x1
G = [Mod(0x3b4c382ce37aa192a4019e763036f4f5dd4d7ebb, p), Mod(0x938cf935318fdced6bc28286531733c3f03c4fee, p)]

JSON

{
"name": "ansip160k1",
"desc": "",
"oid": "1.3.132.0.9",
"form": "Weierstrass",
"field": {
"type": "Prime",
"p": "0xfffffffffffffffffffffffffffffffeffffac73",
"bits": 160
},
"params": {
"a": {
"raw": "0x0"
},
"b": {
"raw": "0x7"
}
},
"generator": {
"x": {
"raw": "0x3b4c382ce37aa192a4019e763036f4f5dd4d7ebb"
},
"y": {
"raw": "0x938cf935318fdced6bc28286531733c3f03c4fee"
}
},
"order": "0x0100000000000000000001b8fa16dfab9aca16b6b3",
"cofactor": "0x1",
"aliases": [
"secg/secp160k1"
]
}

© 2020 Jan Jancar | Built with Dox theme for Gatsby