bitwiseshiftleft / sjcl

Stanford Javascript Crypto Library
http://bitwiseshiftleft.github.com/sjcl/
Other
7.19k stars 988 forks source link

Additional ECC curves #347

Closed rahiparikh closed 7 years ago

rahiparikh commented 7 years ago

Let me start by saying that you guys have designed an awesome library. I was going through various functions/features and noticed the list of curves that you support for ECC. I came across https://safecurves.cr.yp.to/ that lists a few of the implemented curves as non-preferred choices.

I was wondering if it would be possible to support some of the recommended curves.

emdiet commented 7 years ago

I think with new new new sjcl.ecc.curve() you can define whatever you want (I haven't gotten it to work though and something was broken when I tried this)

Nilos commented 7 years ago

Duplicate of #158 Also see the discussion there why this is harder than it might seem.