dazoe / ecc

Native node js module for ECDH and ECDSA
MIT License
5 stars 7 forks source link

Adding some missing curves & common NIST aliases #1

Closed xkxx closed 11 years ago

xkxx commented 11 years ago

Morning Dazoe,

This pull request adds secp192r1 and secp256r1 to the ECCurve hash obj, and also a few common NIST aliases (nistp192~521), because choosing from the list of 30+ curves is a bit intimidating. Alas, can't go wrong with NIST recommendations. Only main.cc is changed.

PS: better documentations would be much appreciated.

Best,

xkxx