• Combine raw shares to restore the original secret.

    The number of shares must be equal to or greater than threshold, which must also be passed as an argument.

    Parameters

    • shares: Uint8Array[]
    • threshold: number = shares.length

    Returns Uint8Array