Blockchain Commons Components TypeScript Library - v1.0.0-alpha.13
    Preparing search index...

    Function sskrGenerateUsing

    • Generates SSKR shares for the given Spec and Secret using the provided random number generator.

      Parameters

      • spec: SSKRSpec

        The Spec instance that defines the group and member thresholds.

      • masterSecret: SSKRSecret

        The Secret instance to be split into shares.

      • randomGenerator: RandomNumberGenerator

        The random number generator to use for generating shares.

      Returns Uint8Array<ArrayBufferLike>[][]

      A vector of groups, each containing a vector of shares, each of which is a Uint8Array.