sodium-javascript
sodium-javascript copied to clipboard
export crypto_scalarmult_ed25519
Currently breaking noise-curve-ed in the browser:
https://github.com/chm-diederichs/noise-curve-ed/blob/main/index.js#L54
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.
Oh big whoops!