Skip to content
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

Guidance on building a shared key #65

Open
EnriqueL8 opened this issue Aug 19, 2024 · 0 comments
Open

Guidance on building a shared key #65

EnriqueL8 opened this issue Aug 19, 2024 · 0 comments

Comments

@EnriqueL8
Copy link

Hey all!

I'm trying to build an Elliptic-Curve Diffie–Hellman (ECDH) shared key given a private key and a public key using this babyjubjub package. As far as I understand I need to use the mul() function where the starting point is the public key and add the private key big.Int to build such shared key.

Would appreciate any recommendations and if it makes sense to have an API in this package to build a shared key. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant