How to implement a seclist of seclist/list #82
-
|
I want to create a seclist |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
|
Indeed, the elements of a If you want a nested secure list, say a 2D list, where the inner lists are all of the same length |
Beta Was this translation helpful? Give feedback.
-
|
Hello, What does the attribute l (bit_length) of SecInt represent? Why can it still represent a large number when I set l=1? In addition, can setting a smaller l value reduce decoding time? Because I want to make my program computing with a large dataset faster. |
Beta Was this translation helpful? Give feedback.
-
|
Hi, if I use |
Beta Was this translation helpful? Give feedback.
-
|
Hi again! If I want to use mpyc on multiple machines, rather than multiple terminals on one machine, how can I do it? |
Beta Was this translation helpful? Give feedback.
Indeed, the elements of a
seclistare currently required to be a secure number (secure typempc.SecFld(),mpc.SecInt(), ormpc.SecFxp()).If you want a nested secure list, say a 2D list, where the inner lists are all of the same length
n, you may try to convert 2D indices(i,j)ton*i+jto flatten the secure list of lists.