• Combines robust shares to restore the original secret. The number of shares must be equal to or greater than threshold.

    If a custom hash was used when creating shares, it must be passed as an argument along with the hash identifier.

    Parameters

    • shares: Uint8Array[]
    • OptionalcustomHash: (new () => Hash)
    • OptionalcustomHashId: number

    Returns Uint8Array