Function: sha256()
ts
function sha256(input): Promise<string>;Defined in: packages/core/src/introspection/canonicalize.ts:27
SHA-256 hash of a string, returned as lowercase hex.
Uses the Web Crypto API (crypto.subtle) for runtime agnosticism.
Parameters
| Parameter | Type | Description |
|---|---|---|
input | string | The string to hash |
Returns
Promise<string>
64-character hex digest