-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getSharedSecret() #687
Comments
You're looking for https://docs.rs/k256/latest/k256/ecdh/fn.diffie_hellman.html |
Thanks. Unfortunately I can't get a Can we have a |
#690 adds an accessor method, however it's on the v0.12 release track and therefore won't be available until the next minor release |
Thanks! In the meantime I created an identical type into which I transmute. |
Is there a way I can replicate https://github.com/paulmillr/noble-secp256k1 getSharedSecret() function using this crate?
If not, can we add a function for that? It's used in the nostr protocol. It's basically a normalized public key multiplied by a normalied private key, but the devil is in the details (and if I try to write it, there will be even more devils in the details).
The text was updated successfully, but these errors were encountered: