computeEntryHash() function
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Computes a hash for a given credential or presentation. This hash is usable as an internal ID for database indexing
Signature:
export declare function computeEntryHash(
input: W3CVerifiableCredential | W3CVerifiablePresentation | IMessage,
): string
Parameters
Parameter | Type | Description |
---|---|---|
input | W3CVerifiableCredential | W3CVerifiablePresentation | IMessage | the Credential or Presentation whose hash is neeeded This API may change without a BREAKING CHANGE notice. |
Returns:
string