Function sss_rs::wrapped_sharing::reconstruct [−][src]
pub fn reconstruct(
secret: &mut Secret,
srcs: Vec<Vec<u8>>,
verify: bool
) -> Result<(), Error>
Expand description
Reconstructs a secret from a given list of shares.
verify: If true, a hash is assumed to exist at the end of the secret and will be used to verify secret reconstruction. NOTE: This will fail if the secret was not shared with verify set to true.