<div dir="ltr">Well I also need an addition function as well as a subtraction function (which is just adding an inverse, but there's not an easy way to come up with this inverse). Also, it doesn't have an obvious way to convert a message into a point.<div><br></div><div>Frank</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 17, 2015 at 5:24 PM, Ron Garret <span dir="ltr"><<a href="mailto:ron@flownet.com" target="_blank">ron@flownet.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">What is it about tweetnacl that you find difficult to use? It has crypto_scalarmult, which takes a point and an integer and outputs the result. It’s hard to imagine how it could get much simpler than that.<br>
<br>
rg<br>
<div><div class="h5"><br>
On Jun 17, 2015, at 2:16 PM, Frank Wang <<a href="mailto:frankw@mit.edu">frankw@mit.edu</a>> wrote:<br>
<br>
> Hi,<br>
><br>
> 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.<br>
><br>
> 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?<br>
><br>
> Thanks,<br>
> Frank<br>
</div></div>> _______________________________________________<br>
> Curves mailing list<br>
> <a href="mailto:Curves@moderncrypto.org">Curves@moderncrypto.org</a><br>
> <a href="https://moderncrypto.org/mailman/listinfo/curves" rel="noreferrer" target="_blank">https://moderncrypto.org/mailman/listinfo/curves</a><br>
<br>
</blockquote></div><br></div>