Module commitment

Source
Expand description

Commitment scheme API with default implementation.

Structs§

ChainedCommitment
A chain of commitments in which the hash of the n’th commitment is identical to the expected data in the (n+1)’th commitment.

Enums§

CommitmentError
An error relating to Commitment verification.

Traits§

Commitment
A cryptographic commitment with expected data content.
CommitmentChain
A chain of commitments in which the target in the n’th commitment is identical to the expected data in the (n+1)’th commitment
DIDCommitment
TimestampCommitment
A Commitment whose expected data is a Unix time.
TrivialCommitment
A cryptographic commitment with no expected data content.

Type Aliases§

CommitmentResult
Type for commitment result.