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

Types

CommitmentProtocolCleartextInterpreter
Link copied to clipboard

Commitment protocol interpreter for hosts holding the cleartext value.

Commitment protocol interpreter for hash replica hosts.

CommitmentProtocolInterpreterFactory
Link copied to clipboard
object CommitmentProtocolInterpreterFactory : ProtocolBackend
Hashed
Link copied to clipboard
data class Hashed<T>(value: T, info: HashInfo)
HashInfo
Link copied to clipboard
data class HashInfo(hash: List<Byte>, nonce: List<Byte>)
Hashing
Link copied to clipboard
object Hashing

Functions

encode
Link copied to clipboard
fun PlaintextClassObject.encode(): List<Byte>
fun Value.encode(): List<Byte>
genNonce
Link copied to clipboard
fun genNonce(width: Int): List<Byte>
toByte
Link copied to clipboard
fun Boolean.toByte(): Byte