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

Reference encryption key in ciphertexts #12

Open
mortendahl opened this issue Jun 7, 2018 · 0 comments
Open

Reference encryption key in ciphertexts #12

mortendahl opened this issue Jun 7, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@mortendahl
Copy link
Owner

mortendahl commented Jun 7, 2018

By also having a reference to the corresponding encryption key in ciphertexts we can making homomorphic operations easier to read, ie c1 + c2 and c * 5 instead of Paillier::add(ek, c1, c2) and Paillier:mul(c, 5).

Implementation wise this could be done by simply redirecting to the existing Paillier method and implementing Add and Mul for ciphertexts.

@gbenattar gbenattar added the enhancement New feature or request label Jun 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants