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

get_shared_public python function in Private class #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

danieleasoni
Copy link

Some applications may need to obtain, from a public key g^x and a private key y, the shared secret as a group element g^xy, instead of getting directly the hashed value as method get_shared_key does. I added a very simple method to the Private python class that does this.
I am using your library for an implementation of the Sphinx mixnet protocol (Danezis, George, and Ian Goldberg. "Sphinx: A compact and provably secure mix format." Security and Privacy, 2009 30th IEEE Symposium on. IEEE, 2009), for which this functionality is needed. Please let me know if I can improve the code in any way.
Best
Daniele

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

Successfully merging this pull request may close these issues.

1 participant