facebook / ristretto255-js

Javascript implementation of the Ristretto255 group operations, built on top of the popular TweetNaCl.js crypto library
MIT License
34 stars 10 forks source link

Diffie Hellman support #8

Closed h4x3rotab closed 3 years ago

h4x3rotab commented 3 years ago

Looks like not too hard to add, but do you plan to add ECDH key agreement to the library?

kevinlewi commented 3 years ago

Hi @h4x3rotab, apologies for the delayed response!

This library is intended to be as minimal as possible, while still supporting the core operations for Ristretto255. It should be easy for a consumer of this library to implement ECDH key agreement on top of the functions that we already expose – therefore there are no plans to bake ECDH key agreement into this API at the moment.

Marking this issue as resolved, but please feel free to re-open if you have more questions!

cc: @valerini