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

    Function sign

    • Performed once by each participant selected for the signing operation.

      Implements sign from the spec.

      Receives the message to be signed and a set of signing commitments and a set of randomizing commitments to be used in that signing operation, including that for this participant.

      Assumes the participant has already determined which nonce corresponds with the commitment that was assigned by the coordinator in the SigningPackage.

      Type Parameters

      Parameters

      • ciphersuite: C

        The ciphersuite to use

      • signingPackage: SigningPackage<C>

        The signing package from the coordinator

      • signerNonces: SigningNonces<C>

        The signer's nonces generated in round 1

      • keyPackage: KeyPackage<C>

        The signer's key package containing their secret share

      Returns SignatureShare<C>

      The signature share

      Error if the number of commitments is insufficient

      Error if the signer's commitment is not found in the signing package

      Error if the signer's commitment doesn't match