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

    Function part2

    • Performs the second part of the distributed key generation protocol for the participant holding the given SecretPackage, given the received round1::Packages received from the other participants.

      round1Packages maps the identifier of each other participant to the Package they sent to the current participant (the owner of secretPackage). These identifiers must come from whatever mapping the participant has between communication channels and participants, i.e. they must have assurance that the Package came from the participant with that identifier.

      It returns the SecretPackage that must be kept in memory by the participant for the final step, and the map of Packages that must be sent to each other participant who has the given identifier in the map key.

      Type Parameters

      Parameters

      • ciphersuite: C

        The ciphersuite to use

      • secretPackage: round1.SecretPackage<C>

        The round 1 secret package

      • round1Packages: Map<string, round1.Package<C>>

        Map of identifier string to round 1 packages

      Returns [round2.SecretPackage<C>, Map<string, round2.Package<C>>]

      A tuple of [round2.SecretPackage, Map of round2.Package by identifier string]

      If validation fails