paulmillr / noble-curves

Audited & minimal JS implementation of elliptic curve cryptography.
https://paulmillr.com/noble
MIT License
621 stars 56 forks source link

noble-curve.js is missing edwardsToMontogomeryPriv and -Pub? #78

Closed VeronikaSemmelrock closed 10 months ago

VeronikaSemmelrock commented 10 months ago

Hello, I switched from noble-ed25519 to using noble-curves, because in the new update of noble-ed25519 the feature getSharedSecret was removed. I am trying to get x25519.getSharedSecret to work by using edwardsToMontgomeryPriv and edwardsToMontgomeryPub for converting the ed25519 keys. I need to use the standalone noble-curve.js but the functions do not seem to be contained there.

Thank you for your help!

paulmillr commented 10 months ago

updated the release and added the function.

https://github.com/paulmillr/noble-curves/releases/tag/1.2.0