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

    Function preprocess

    • Done once by each participant, to generate their nonces and commitments that are then used during signing.

      This is only needed if pre-processing is needed (for 1-round FROST). For regular 2-round FROST, use commit.

      When performing signing using two rounds, numNonces would equal 1, to perform the first round. Batching entails generating more than one nonce/commitment pair at a time. Nonces should be stored in secret storage for later use, whereas the commitments are published.

      Type Parameters

      Parameters

      • ciphersuite: C

        The ciphersuite to use

      • numNonces: number

        The number of nonce pairs to generate

      • secret: SigningShare<C>

        The participant's signing share

      • rng: RandomSource

        A cryptographically secure random number generator

      Returns [SigningNonces<C>[], SigningCommitments<C>[]]

      A tuple of [signing nonces, signing commitments]