Replies: 4 comments 9 replies
-
Hey @vishakh, the application seems super cool. Unfortunately, your application won't be able to be carried out in the exact way you had planned it because of how privacy-preserving applications work. Also, to put the blame on our side, we have not yet integrated the support for comparison operations on Nada Numpy as our focus was our application to Machine Learning. That said, your use case seems very interesting, so I will personally work to include support for comparison operations in Nada arrays in the next few days. We will get back to you with a tentative solution as soon as the new version is released. Thanks again for building with Nillion! Cheers! |
Beta Was this translation helpful? Give feedback.
-
Hi @vishakh! Just adding some more bits to @jcabrero answer. So, you are trying to select a secret element based on a secret filter (list of secret bools). This is currently not supported but it should be possible to achieve something similar as @jcabrero was mentioning. I mean similar because dealing with secret vectors is tricky and we cannot exactly do what you are trying to do under blind computation (i.e., under MPC). Coding under the blind computation framework has its caveats. For example, observe that the size of Another comment on the program: there is no need to |
Beta Was this translation helpful? Give feedback.
-
Hi @vishakh, we have just dropped Nada Numpy 0.4.2 to support array comparison operations. So now, you will be able to do |
Beta Was this translation helpful? Give feedback.
-
@vishakh one question related to the program above that may help increase its efficiency: what exactly has to be kept private in the gene sequence?
I believe 3 is answered positively. But, if 1 and 2 are not sensitive information, then you would only need to do comparisons over public values (which will be faster). |
Beta Was this translation helpful? Give feedback.
-
Hello, I am trying to write a Nada program using nada_numpy and running into some issues.
Here is the plain Python code I am trying to run:
When I try to replicate this within a Nada program..
..I get this error during compilation:
Am I doing anything not supported by nada_numpy? If so, is there a way I can still accomplish my goal with nada-numpy?
In addition, the Nada code is supposed to operate on much larger arrays, e.g.
(631955, 4)
. When I use the linegene_data = na.array((631955, 4), party1, "gene_data", SecretInteger)
in the Nada program, the compile time seems to blow up. Is this expected behavior? Is there a current and future target upper bound on the size of arrays pynadac can handle?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions