Creates a FROST helper bound to the default context string.
Returns the subgroup order used by the FROST and DKG primitives.
The Baby Jubjub subgroup order.
Returns the additive identity for the Baby Jubjub subgroup.
The affine identity point.
Samples a scalar uniformly from the subgroup order.
When true, uses rejection sampling to avoid bias.
A uniformly sampled scalar.
Multiplies the subgroup generator by a scalar.
Scalar multiplier.
The resulting affine point.
Multiplies an affine point by a scalar.
Affine point.
Scalar multiplier.
The resulting affine point.
Serializes an affine subgroup point using RFC 8032-style compression.
Affine point to serialize.
The compressed 32-byte point encoding.
Deserializes a compressed point and verifies subgroup membership.
Compressed point bytes.
The decoded affine point.
Serializes a scalar into the canonical 32-byte form expected by the repo.
Scalar to serialize.
The serialized scalar bytes.
Deserializes a scalar from the canonical 32-byte form.
Serialized scalar bytes.
The decoded scalar.
Compares two affine points for coordinate equality.
First affine point.
Second affine point.
true when both coordinates match.
Converts a scalar into the repo's canonical 32-byte little-endian form.
Scalar to encode.
Encoded bytes.
Decodes a scalar from the repo's canonical 32-byte little-endian form.
Encoded bytes.
The decoded scalar.
Reduces a bigint modulo the full curve order.
Value to reduce.
The reduced scalar.
Reduces a bigint modulo the prime-order subgroup.
Value to reduce.
The reduced scalar.
Computes a multiplicative inverse in the subgroup field.
Scalar to invert.
The multiplicative inverse modulo the subgroup order.
Applies EdDSA bit pruning to a 32-byte buffer.
Input bytes.
The pruned buffer.
Derives the Baby Jubjub secret scalar for the provided private key.
Private key bytes.
The derived subgroup scalar divided by the cofactor.
Maps an Edwards point into Montgomery coordinates when the mapping exists.
Edwards affine point.
Edwards x-coordinate.
Edwards y-coordinate.
The mapped Montgomery coordinates.
Computes the binding-factor hash domain.
Input bytes.
The derived scalar.
Computes the signing challenge compatible with EDDSA-Poseidon verification.
Group commitment point.
Group public key.
Message hash scalar.
The derived scalar challenge.
Computes the deterministic nonce-derivation hash domain.
Input bytes.
The derived scalar.
Computes the message hash domain.
Input bytes.
The derived scalar.
Computes the commitment-list digest domain.
Input bytes.
The derived scalar.
Derives a nonce scalar from signer secret material.
Signer secret scalar.
The derived nonce scalar.
Computes the Lagrange coefficient for x_i at zero.
Participant identifier list.
Identifier to evaluate.
The interpolation coefficient.
Encodes a commitment list into the byte form used by binding-factor hashing.
Commitment list for the active round.
Encoded commitment bytes.
Extracts participant identifiers from a commitment list.
Commitment list for the active round.
The participant identifiers.
Looks up a participant's binding factor inside a computed factor list.
Computed binding factors.
Participant identifier.
The participant binding factor.
Computes the binding factor for every participant in the signing set.
Group public key.
Commitment list for the active round.
Message bytes.
The binding factors for every participant.
Computes the aggregate group commitment for the active signing set.
Commitment list for the active round.
Binding factors for that round.
The aggregate group commitment.
Computes the per-message signing challenge.
Aggregate group commitment.
Group public key.
Message hash scalar.
The per-message challenge scalar.
Generates round-1 nonces and public commitments for a signer.
Signer share scalar.
Participant identifier.
The private nonces and public commitments.
Produces a signer-specific round-2 signature share.
Participant identifier.
Signer share scalar.
Group public key.
Signer nonce pair from round 1.
Message hash scalar.
Commitment list for the active round.
The participant's signature share.
Aggregates verified signature shares into a final FROST signature.
Commitment list for the active round.
Message hash scalar.
Group public key.
Signature shares ordered by participant identifier.
The aggregate FROST signature.
Verifies an individual signer's signature share against its commitments.
Participant identifier.
Signer share scalar.
Commitment published by that signer.
Signature share to verify.
Commitment list for the active round.
Group public key.
Message hash scalar.
true when the signature share is valid.
ReadonlycurveReadonlygeneratorReadonlyFrReadonlyorderReadonlyidentityReadonlyfieldReadonlycontext
Baby Jubjub FROST primitive implementation used by the signing manager.
This class exposes low-level round operations and assumes the caller keeps track of participant sets, commitments, and protocol ordering correctly.