numsp256t1
256-bit prime field TwistedEdwards curve.Parameters
SAGE
p = 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff43K = GF(p)a = K(0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff42)d = K(0x3bee)E = EllipticCurve(K, (K(-1/48) * (a^2 + 14*a*d + d^2),K(1/864) * (a + d) * (-a^2 + 34*a*d - d^2)))def to_weierstrass(a, d, x, y):return ((5*a + a*y - 5*d*y - d)/(12 - 12*y), (a + a*y - d*y -d)/(4*x - 4*x*y))def to_twistededwards(a, d, u, v):y = (5*a - 12*u - d)/(-12*u - a + 5*d)x = (a + a*y - d*y -d)/(4*v - 4*v*y)return (x, y)G = E(*to_weierstrass(a, d, K(0x0d), K(0x7d0ab41e2a1276dba3d330b39fa046bfbe2a6d63824d303f707f6fb5331cadba)))E.set_order(0x3fffffffffffffffffffffffffffffffbe6aa55ad0a6bc64e5b84e6f1122b4ad * 0x04)# This curve is a Weierstrass curve (SAGE does not support TwistedEdwards curves) birationally equivalent to the intended curve.# You can use the to_weierstrass and to_twistededwards functions to convert the points.
JSON
{"name": "numsp256t1","desc": "","form": "TwistedEdwards","field": {"type": "Prime","p": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff43","bits": 256},"params": {"a": {"raw": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff42"},"d": {"raw": "0x3bee"}},"generator": {"x": {"raw": "0x0d"},"y": {"raw": "0x7d0ab41e2a1276dba3d330b39fa046bfbe2a6d63824d303f707f6fb5331cadba"}},"order": "0x3fffffffffffffffffffffffffffffffbe6aa55ad0a6bc64e5b84e6f1122b4ad","cofactor": "0x04"}