I'm implementing a portion of the Zcash protocol in C# and am looking for a way to instantiate an elliptic curve for JubJub as described in the Zcash protocol spec <https://zips.z.cash/protocol/protocol.pdf#jubjub>. Apparently JubJub is "a complete twisted Edwards elliptic curve". I even found (from Bing Chat) a reference to this class:
org.bouncycastle.math.ec.custom.ed.TwistedEdwardsCurve But it was for the Java version of Bouncy Castle, and I couldn't found its source anyway. Is there such an implementation in C#? I wouldn't mind porting it from Java if someone can direct me to the source. Thanks. -- Andrew Arnott "I [may] not agree with what you have to say, but I'll defend to the death your right to say it." - S. G. Tallentyre