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

    Function randomizePublicKeyPackage

    • Randomize the given PublicKeyPackage for usage in a re-randomized FROST aggregation, using the given RandomizedParams.

      It's recommended to use aggregate() directly which already handles the public key package randomization.

      Type Parameters

      Parameters

      • ciphersuite: C

        The ciphersuite to use

      • publicKeyPackage: PublicKeyPackage<C>

        The original public key package to randomize

      • randomizedParams: RandomizedParams<C>

        The randomized parameters

      Returns PublicKeyPackage<C>

      The randomized public key package

      const randomizedPublicKeyPackage = randomizePublicKeyPackage(
      ciphersuite,
      publicKeyPackage,
      randomizedParams,
      );
      // Use for signature aggregation