/Wiki/sources/honojs__hono/2026/https-hono-dev-llms-full-txt-generatedigest-body-4266c598a0da-generatedigest-body-uint8array-arraybuffer-promise-s0175-c0000.md
generateDigest: `(body: Uint8Array) => ArrayBuffer | Promise ` - hono...
generateDigest: (body: Uint8Array) = ArrayBuffer | Promise Source evidence: /Sources/raw/honojs hono/honojs hono.md Canonical citation: https://hono.dev/llms...
generateDigest: (body: Uint8Array) => ArrayBuffer | Promise
Source evidence: /Sources/raw/honojshono/honojshono.md Canonical citation: https://hono.dev/llms-full.txt#generatedigest-body-uint8array-arraybuffer-promise
Summary
A custom digest generation function. By default, it uses SHA-1. This function is called with the response body as a Uint8Array and should return a hash as an ArrayBuffer or a Promise of one.
Content
A custom digest generation function. By default, it uses SHA-1. This function is called with the response body as a Uint8Array and should return a hash as an ArrayBuffer or a Promise of one.