Skip to main content

communicationCommitment

@midnight/ledger v7.0.0


@midnight/ledger / communicationCommitment

Function: communicationCommitment()

Call Signature

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

Call Signature

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