Expand description
Real Shamir secret sharing over the P-256 scalar field.
Structs§
- Share
- A Shamir share: (x, y) where x is the party index and y is a scalar.
Enums§
- Shamir
Error - Errors during Shamir operations.
Functions§
- recover_
secret - Recover the secret via Lagrange interpolation at x=0.
- split_
secret - Split a
secretintonshares with thresholdt.