@blockchaincommons/envelope - v1.0.0-beta.4
    Preparing search index...

    Function sskrSplit

    • Splits contentKey into SSKR shares per spec and returns one copy of the envelope per share, each carrying its share as an sskrShare assertion, grouped as the spec groups them (the reference's sskr_split / sskr_split_using). sskrJoin recovers the envelope from a quorum.

      Parameters

      • envelope: Envelope
      • spec: Spec
      • contentKey: SymmetricKey
      • __namedParameters: RngOptions = {}

      Returns Envelope[][]

      EnvelopeError Sskr (sskr error: <message>, cause the SskrError) when sskr rejects the secret or the spec, as the reference's ? into Error::SSKR (a group with a zero member threshold: sskr error: SSKR Shamir error: invalid threshold)