iya-sts
    Preparing search index...
    hashDataAsync: (
        suite: Suite,
        jwk: any,
        proofConfig: any,
        unsecured: any,
    ) => Promise<Buffer> = ...

    Type Declaration

      • (suite: Suite, jwk: any, proofConfig: any, unsecured: any): Promise<Buffer>
      • Computes a proof's hash data for either kind of suite: for an RDFC suite H(RDFC(proofConfig)) || H(RDFC(unsecuredDocument)).

        Parameters

        • suite: Suite

          the cryptosuite

        • jwk: any

          the key, for the hash its curve is signed under

        • proofConfig: any

          the proof configuration

        • unsecured: any

          the unsecured document

        Returns Promise<Buffer>

        the hash data