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

    Class VerifiableSecretSharingCommitment<C>

    Contains the commitments to the coefficients for our secret polynomial f, used to generate participants' key shares.

    VerifiableSecretSharingCommitment contains a set of commitments to the coefficients (which themselves are scalars) for a secret polynomial f, where f is used to generate each ith participant's key share f(i). Participants use this set of commitments to perform verifiable secret sharing.

    Note that participants MUST be assured that they have the same VerifiableSecretSharingCommitment, either by performing pairwise comparison, or by using some agreed-upon public location for publication, where each participant can ensure that they received the correct (and same) value.

    Type Parameters

    Index

    Constructors

    Properties

    ciphersuite: C
    commitmentCoefficients: CoefficientCommitment<C>[]

    The coefficient commitments

    Methods

    • Returns serialized coefficient commitments.

      Returns Uint8Array<ArrayBufferLike>[]

      Array of serialized commitments

      If serialization fails

    • Serialize the whole commitment vector as a single byte vector.

      Returns Uint8Array

      Concatenated serialized commitments

      If serialization fails

    • Returns VerifiableSecretSharingCommitment from an iterator of serialized CoefficientCommitments (e.g. an array of Uint8Array).

      Type Parameters

      Parameters

      • ciphersuite: C

        The ciphersuite to use

      • serializedCommitments: Uint8Array<ArrayBufferLike>[]

        Array of serialized commitments

      Returns VerifiableSecretSharingCommitment<C>

      The deserialized VerifiableSecretSharingCommitment

      If deserialization fails

    • Deserialize a whole commitment vector from a single byte vector.

      Type Parameters

      Parameters

      • ciphersuite: C

        The ciphersuite to use

      • bytes: Uint8Array

        Concatenated serialized commitments

      Returns VerifiableSecretSharingCommitment<C>

      The deserialized VerifiableSecretSharingCommitment

      If deserialization fails

    • Get the VerifyingKey matching this commitment vector (which is the first element in the vector).

      Returns C["Element"]

      The verifying key element

      If the commitment vector is empty

    • Return the threshold (minSigners) associated with this commitment.

      Returns number

      The minimum number of signers

    • Convert to string representation.

      Returns string

      Debug string