Ask Your Question

Travis's profile - activity

2018-02-20 10:37:23 +0200 received badge  Nice Answer (source)
2018-02-20 05:39:23 +0200 received badge  Teacher (source)
2018-02-20 05:38:27 +0200 answered a question ed25519 elliptic curve

Did you mean Curve25519? It looks like the standard way to write Curve 25519 is already in long Weirstrass form (see the wiki site: wikipedia.org/wiki/Curve25519). In Sage we can build this as:

E = EllipticCurve(GF(2^255-19),[0,486662,0,1,0])

I verified that the trace matched that listed on the safecurves site. Namely,

E.trace_of_frobenius() == -221938542218978828286815502327069187962

The curve used in the signature scheme Ed25519 (as explained on wikipedia.org/wiki/EdDSA#Ed25519 ), is birationaly equivalent to Curve25519, which is what we constructed above. A change of variables is given in the wikipedia entry.

I hope this helps,

Travis