How is prime p and the order of the finite field determined for thresha.random_split
#60
-
Hi Berry, Sorry for disturbing you again, but I was wondering how MPyC sets I saw that they are set to be the same in But not sure if that is really the case? Thanks for a clarification. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
So, Functions like |
Beta Was this translation helpful? Give feedback.
-
Thank you for the fast reply. If I understand it correctly, if the parties are computing the sum of secure integers via Those are prime order fields created with |
Beta Was this translation helpful? Give feedback.
Right! So, if you set
secint = mpc.SecInt()
, then you can extract the corresponding field usingfield = secint.field
. This will be a prime field, of which you can inspectfield.modulus
andfield.order
, which are both equal to the prime number used for secret sharing.