The ciphersuite type
StaticnewCreate a new RandomizedParams for the given VerifyingKey and the given signing commitments.
The SigningCommitments map must be the one being used in the current FROST signing run (built by the Coordinator after receiving from Participants). It is hashed into the randomizer calculation, which binds it to that specific commitments.
Returns the generated RandomizedParams and a randomizer seed. Both can
be used to regenerate the RandomizedParams with
regenerateFromSeedAndCommitments().
The ciphersuite to use (must support rerandomization)
The group's verifying key
Map of identifier to signing commitments
A cryptographically secure random number generator
A tuple of [RandomizedParams, randomizer seed bytes]
StaticregenerateRegenerate a RandomizedParams with the given VerifyingKey from the given signing commitments.
Regenerates a RandomizedParams generated with newFromCommitments().
This can be used by Participants after receiving the randomizer seed
and commitments in Round 2. This is better than the Coordinator simply
generating a Randomizer and sending it to Participants, because in this
approach the participants don't need to fully trust the Coordinator's
random number generator (i.e. even if the randomizer seed was not
randomly generated the randomizer will still be).
This should be used exclusively with the output of newFromCommitments();
it is strongly suggested to not attempt generating the randomizer seed
yourself (even if the point of this approach is to hedge against issues
in the randomizer seed generation).
The ciphersuite to use (must support rerandomization)
The group's verifying key
The randomizer seed bytes from newFromCommitments()
Map of identifier to signing commitments
The regenerated RandomizedParams
StaticfromCreate a new RandomizedParams for the given VerifyingKey and the given randomizer.
The randomizer MUST be generated uniformly at random! Use
newFromCommitments() which generates a fresh randomizer, unless your
application requires generating a randomizer outside.
The ciphersuite to use
The group's verifying key
The randomizer (must be uniformly random)
The new RandomizedParams
Returns a string representation of this RandomizedParams.
Debug string with all fields
Check equality with another RandomizedParams.
The other RandomizedParams to compare
True if the params are equal
Randomized parameters for a signing instance of randomized FROST.