viaduct
0.3.0
runtime
/
io.github.aplcornell.viaduct.runtime.commitment
/
Committed
Committed
@
Serializable
class
Committed
<
T
>
A value committed to. Packages the value and the secret needed to open the
Commitment
.
Types
Constructors
Properties
Extensions
Constructors
Committed
Link copied to clipboard
fun
<
T
>
Committed
(
value
:
T
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
nonce
Link copied to clipboard
val
nonce
:
ByteArray
value
Link copied to clipboard
val
value
:
T
Extensions
commitment
Link copied to clipboard
inline
fun
<
T
>
Committed
<
T
>
.
commitment
(
)
:
Commitment
<
T
>