Skip to main content
function authHash(data: Buffer): Promise<string>;
Defined in: utils/hash.ts:14 Auth-specific hash function using uncrypto for Edge runtime compatibility. Computes SHA-256 hash of the given data.

Parameters

data

Buffer The data to hash

Returns

Promise<string> Promise that resolves to the hex-encoded hash