We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It would be useful to support numpy arrays. The following example does not work. We should aim to get a vector of encrypted numbers as result.
import phe as paillier import numpy as np pubkey, prikey = paillier.generate_paillier_keypair(n_length=1024) x = np.ones(10) e = pubkey.encrypt(x)
The text was updated successfully, but these errors were encountered:
Additionally, we must be able to multiply encrypted scalar with numpy arrays in the clear.
e = pubkey.encrypt(1.0) e * x
Sorry, something went wrong.
No branches or pull requests
It would be useful to support numpy arrays. The following example does not work. We should aim to get a vector of encrypted numbers as result.
The text was updated successfully, but these errors were encountered: