sodium-javascript icon indicating copy to clipboard operation
sodium-javascript copied to clipboard

export crypto_scalarmult_ed25519

Open lukeburns opened this issue 3 years ago • 2 comments

Currently breaking noise-curve-ed in the browser:

https://github.com/chm-diederichs/noise-curve-ed/blob/main/index.js#L54

lukeburns avatar Apr 06 '22 00:04 lukeburns

Thanks for the PR, would be good to get noise-curve working in the browser.

crypto_scalarmult in fact implements Curve25519 arithmetic. We need to export this function for crypto_scalarmult_ed25519. See TweetNaCl paper section 5 for more info.

I'm keen to get this in, but we'll need to port the crypto_scalarmult_ed25519 tests first. I will try to set aside some time on Friday to do so.

chm-diederichs avatar Apr 06 '22 09:04 chm-diederichs

Oh big whoops!

lukeburns avatar Apr 06 '22 11:04 lukeburns