@blockchaincommons/sskr - v1.0.0-beta.3
    Preparing search index...

    Function parseShare

    • Parse the wire form: the checks the reference makes on each share inside sskr_combine, in its order. The result is frozen.

      Parameters

      • bytes: Uint8Array

      Returns SskrShare

      InvalidParameter unless bytes is a Uint8Array; then ShareLengthInvalid (under 5 bytes), GroupThresholdInvalid (threshold above count), ShareReservedBitsInvalid, then the secret codes.