FROST P-256 TypeScript Library - v0.2.2-alpha.3
    Preparing search index...

    Function refreshDkgPart1

    • Part 1 of refresh share with DKG.

      • identifier: The identifier of the participant that wants to refresh their share.
      • maxSigners: the number of participants that are refreshing their shares. It can be smaller than the original value, but still equal to or greater than minSigners.
      • minSigners: the threshold needed to sign. It must be equal to the original value for the group (i.e. the refresh process can't reduce the threshold).

      It returns the SecretPackage that must be kept in memory by the participant for the other steps, and the Package that must be sent to each other participant in the refresh run.

      Parameters

      • ciphersuite: P256Sha256Impl

        The P256Sha256 ciphersuite instance

      • identifier: Identifier<P256Sha256Impl>

        The participant's identifier

      • maxSigners: number

        Maximum number of signers

      • minSigners: number

        Minimum number of signers (threshold)

      • rng: RandomSource

        Random number generator

      Returns [keys.keys/dkg.round1.SecretPackage, keys.keys/dkg.round1.Package]

      A tuple of [round1.SecretPackage, round1.Package]

      If parameters are invalid