Question: Write functions to to split a secret into shares and reconstruct the secret using a threshold number of shares. Ensure the program accepts the following
Write functions to to split a secret into shares and reconstruct the secret using a threshold number of shares.
Ensure the program accepts the following inputs:
The secret to be shared.
The finite field size.
The total number of shares to generate.
The threshold number of shares required to reconstruct the secret.
Part : generatesharessecret field, shares, threshold should return a List of points x y
Part : reconstuctsecretpoints field should return the reconstucted secret from a quorum of shares
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
