Commitment

class Commitment<T>(hash: ByteArray)

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

Constructors

Commitment
Link copied to clipboard
fun Commitment(hash: ByteArray)

Functions

open
Link copied to clipboard
inline fun <T> open(secret: Committed<T>): T

Properties

hash
Link copied to clipboard
val hash: ByteArray