mcut
@mcut/media

hashBlob

Generated TypeScript API reference for the public mcut SDK.

mcut SDK


mcut SDK / media/src / hashBlob

Function: hashBlob()

function hashBlob(blob): Promise<string | null>;

Defined in: packages/media/src/media-store.ts:26

SHA-256 hex of a blob's content, or null when too large to hash.

Parameters

blob

Blob

Returns

Promise<string | null>

On this page