• Used by the verifier to encode the revealed messages given by the prover.

    Parameters

    • revealedMsgsRaw: object

      Revealed messages given by the prover.

    • msgStructure: any

      Message structure, i.e. the structure of JS object with key names but values redacted.

    • encoder: Encoder

    Returns Map<number, Uint8Array>