Module sss_rs::basic_sharing
source · Expand description
Contains the core implementation of the library, in most cases wrapped_sharing should be utilized, otherwise these functions are useful for implementing a custom abstraction/wrapper.
Enums
Functions
- Creates a vector of points that serve as the list of shares for a given byte of data.
- This is a wrapper around from_secret and performs the same operation but across each byte.
- Wrapper around its corresponding share function but deduplicates the x-value from all the points to reduce the size of the share.
- Reconstructs a secret from a given Vector of shares (points) and returns that secret.
- See reconstruct_secret for more information
- Wrapper around its reconstruct_secrets, accepts shares created by from_secrets_compressed function to reconstruct the secret from shares created using from_secrets_compressed