Skip to content

How is prime p and the order of the finite field determined for thresha.random_split #60

Answered by lschoe
RetoKrummenacher asked this question in Q&A
Discussion options

You must be logged in to vote

Right! So, if you set secint = mpc.SecInt(), then you can extract the corresponding field using field = secint.field. This will be a prime field, of which you can inspect field.modulus and field.order, which are both equal to the prime number used for secret sharing.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@lschoe
Comment options

Answer selected by RetoKrummenacher
@RetoKrummenacher
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #59 on June 15, 2023 11:07.