Expand description
The adss
crate defines functionality for performing secret
sharing with established security guarantees. We use this framework
as it allows for specifying the random coins that are used for
establishing the lagrange polynomial coefficients explicitly. A
description of the framework is provided in the paper by Bellare et
al..
Structs
- The
AccessStructure
struct defines the policy under which shares can be recovered. Currently, this policy is simply whether there arethreshold
number of independent shares. - A
Commune
is a unique instance of sharing across multiple parties - The
Share
struct holds the necessary data that is encoded in a single secret share. A share itself reveals nothing about the encoded secret data until it is grouped with a set of shares that satisfy the policy in the associatedAccessStructure
.
Constants
Functions
- The
recover
function attempts to recover a secret shared value from a set of shares that meet the threshold requirements.