Skip to main content

communicationCommitment

@midnight-ntwrk/compact-runtime v0.14.0


@midnight-ntwrk/compact-runtime / communicationCommitment

Function: communicationCommitment()

function communicationCommitment(
input,
output,
rand): string;

Computes the communication commitment corresponding to an input/output pair and randomness.

Parameters​

input​

AlignedValue

output​

AlignedValue

rand​

string

Returns​

string