-
Notifications
You must be signed in to change notification settings - Fork 22
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
Key exchange examples? #32
Comments
FiloSottile
added a commit
to FiloSottile/edwards25519
that referenced
this issue
Sep 28, 2020
For the license changes, see gtank/ristretto255-private#28 and gtank/ristretto255#32, that contribute all code in those repositories to the Go project under the Google CLA.
FiloSottile
added a commit
to FiloSottile/edwards25519
that referenced
this issue
Sep 28, 2020
For the license changes, see gtank/ristretto255-private#28 and gtank/ristretto255#32, that contribute all code in those repositories to the Go project under the Google CLA.
Hi @riobard, |
@justmumu Unfortunately no. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In golang/go#20504 (comment) @FiloSottile pointed out that I should use ristretto255 for key exchange with uniform-looking public keys. However it is not super clear what I am supposed to do, and the only example I could find is from libsodium but it has a very different looking API
Anyway I figure since this is Go, maybe the API should be similar to
x/crypto/x25519
? So I wrote the following test code which seems to be working finepk1
look random and uniform?Does it mean that if the above key exchange procedure is correct, either party1 or party2 could use a different underlying curve and the key exchange still works?
The text was updated successfully, but these errors were encountered: