Skip to content

Questions about using the Shamir secret sharing protocol #92

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

You must be logged in to vote

The answer to your first question is "yes". For example, if you have say three parties holding secret shares of a secure integer, you can assign these shares locally, for each party, and then they can continue to do secure computation with the resulting secure integer.

Party 0 executes a = secint(secint.field(12723956914977493523)) in its program.
Party 1 executes a = secint(secint.field(7001169756245412185)) in its program.
Party 2 executes a = secint(secint.field(1278382597513330847)) in its program.

Then if they run print(await mpc.output(a)) they should all see 23434 being printed.

About your second question, not sure what it is about?

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@farmerj777
Comment options

Answer selected by lschoe
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #91 on May 22, 2024 07:38.