hashDataAsync: (
suite: Suite,
jwk: any,
proofConfig: any,
unsecured: any,
) => Promise<Buffer> = ...
Type Declaration
-
- (suite: Suite, jwk: any, proofConfig: any, unsecured: any): Promise<Buffer>
-
Parameters
- suite: Suite
- jwk: any
- proofConfig: any
- unsecured: any
Returns Promise<Buffer>
the hash data
Computes a proof's hash data for either kind of suite: for an RDFC suite H(RDFC(proofConfig)) || H(RDFC(unsecuredDocument)).