[][src]Function sss_rs::raw_share::reconstruct_secrets_from_share_lists

pub fn reconstruct_secrets_from_share_lists(
    share_lists: Vec<Vec<(u8, u8)>>
) -> Result<Vec<u8>, Error>

This is a wrapper around @reconstruct_secret that iterates over each Vec of shares and reconstructs their respective byte of the secret. It expects the shares to be in this format: share1byte1, share1byte2, share1byte3, ..., share1byte<share_lists.len()> share2byte1, share2byte2, share2byte3, ..., share2byte<share_lists.len()> since that is how they would be distributed. @share_lists: A Vec of Vecs, with each Vec containing the shares needed to reconstruct a byte of the secret. ... For the rest of the arguments, see @reconstruct_secret