Package edu.cornell.cs.apl.viaduct.runtime.commitment

Types

Commitment
Link copied to clipboard
class Commitment<T>(hash: ByteArray)

A commitment to a value of type T. Can be opened to receive the committed value.

Committed
Link copied to clipboard
class Committed<T>

A value committed to. Packages the value and the secret needed to open the Commitment.

InvalidCommitmentException
Link copied to clipboard
class InvalidCommitmentException(value: Any?) : ViaductRuntimeException

Thrown when opening a commitment fails.