-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 06/18/2015 09:27 AM, Frank Wang wrote: > Hi, > > I am working on a research project at MIT, and I need to use > elliptic curves (or a group where DDH is hard, but elliptic curves > seem like the best way to go) to implement a cryptographic scheme. > I've been trying to search for general Curve25519 and Ed25519 > libraries where I can just do add and scalar multiply as well as > hash messages to points. The best library I've come across so far > is tweetnacl, which has the add and scalar multiply operation for > Ed25519, but it's a bit difficult to use, and I end up modifying > the library to do subtraction of points. > > I have yet to find a good library that allows me to just do > operations on Ed25519 or Curve25519. Does such a library exist? If > not, any tips on what I should do? Should I just use another curve > library that is better supported? If so, any suggestions?
If you are willing to use Java, you can look at my Ed25519 library[0]. It exposes addition, subtraction and scalar multiplication operations on EdDSA group elements. Some Ed25519 libraries in other languages are listed here[1], but I don't know what operations they expose. str4d [0] https://github.com/str4d/ed25519-java [1] https://stackoverflow.com/questions/19147619/what-implementions-of-ed255 19-exist > > Thanks, Frank > > > > _______________________________________________ Curves mailing > list [email protected] > https://moderncrypto.org/mailman/listinfo/curves > -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJVgfnkAAoJEBO17ljAn7PgHs4P/i2ecOECnboar4Mp1YGHHo8F 996mReOKZVbzI7v2zmtrS60tPjIp+b9EJqifATvc4UfBVTCbPeETKjUcvksyforq rkmiHM4qpLjKE9MoVBA4b2mFd6TRRD6gy5jfhuAwDZLIvrcC4zfjwbOZO+IxRSQg KFPG5v9sP4qGvAn2VfHZauaDkMJbSVm1yrOWYXVJSmfQnWZg4cPD2xm8JdbmMGPB aanZToI50Ayh7P1/vNqD3USHcZWgco2Bz8/l6symvmt/QemadgTXxMEtqc4GisdO rQClOZ4MwjIgdfp8YHs1CHGYMtCczNmoVdxepsySh6P1xMiuEO4jKhsG3M4yn090 0ou2/TcrWK5NfUTtBeKpk+bqa926A5xvOX1lSC2OIFJCS28CqzMx4ktNq3Rr01iM sVd/YRkJU6SbmptESzTIamTQJIQzkC29I2JVOpk9QTzZCD6lmKRmRrH+LME5bZ7c ha30uZWb6NxSwNg6rzyRPVgDou9mpQobjbpNkSwgSvFtxoqbGAydrA2D/0ukRvCC 0jgRqAiwZpEpM3X6oF552vd100Osu0ieS+NlRTs/S9iSi/xQU+7xkFy+rpJjGmU/ YFKDNNit9BuyQqEanlR7f9Pj4K9OjLIEp2zWCzVak9f4yxdJx6QtgwCC2vGLcxab TDo/xhtLzOV0qccFPthi =DJ4V -----END PGP SIGNATURE----- _______________________________________________ Curves mailing list [email protected] https://moderncrypto.org/mailman/listinfo/curves
