CommitmentOptions

Options & Configuration · AiDotNet.Models.Options

Configuration options for cryptographic commitment schemes.

For Beginners

A commitment scheme lets you “lock in” a value without revealing it. Later, you can “open” the commitment to prove what the original value was. No one can change the committed value after the fact (binding), and no one can learn the value before you open it (hiding).

Constructors

Constructor Summary
CommitmentOptions()

Properties

Property Summary
bool UseBatchCommitments { get; set; } Gets or sets whether to use batch commitments (commit to multiple values at once).
int PedersenGroupBitLength { get; set; } Gets or sets the Pedersen generator parameter (prime modulus bit length).
int RandomnessLength { get; set; } Gets or sets the randomness length in bytes for commitment blinding.
string HashAlgorithm { get; set; } Gets or sets the hash algorithm for hash-based commitments.