@blockchaincommons/sskr - Sharded Secret Key Reconstruction
(BCR-2020-011): a secret split into groups of Shamir shares, any
groupThreshold groups of which, each at its member threshold, recover it.
generateShares produces SskrShares per group;
shareBytes / parseShare are the wire form;
combineShares recovers. Every failure is a SskrError with a
code: the reference's fourteen, Shamir for a wrapped Shamir failure,
and InvalidParameter for a spec field that is not a usize (a
non-negative integer number up to 2^64, or a bigint in
[0, 2^64 - 1]) or a header field outside its width.
@blockchaincommons/sskr - Sharded Secret Key Reconstruction (BCR-2020-011): a secret split into groups of Shamir shares, any
groupThresholdgroups of which, each at its member threshold, recover it.generateShares produces SskrShares per group; shareBytes / parseShare are the wire form; combineShares recovers. Every failure is a SskrError with a
code: the reference's fourteen,Shamirfor a wrapped Shamir failure, andInvalidParameterfor a spec field that is not ausize(a non-negative integernumberup to2^64, or abigintin[0, 2^64 - 1]) or a header field outside its width.