View as Markdown

SDK reference · Rails

contentHash

contentHash in @provenanceauth/rails/deals, Rails. Sha256 (hex) of delivered bytes or text.

Signature

contentHash(content: string | Uint8Array): Promise<string>

Parameters

contentstring | Uint8ArrayRequired

Returns

Promise<string>

HTTP operation

Runs locally, with no request to the API.

Was this page helpful? Send us feedback

LLM? Read llms.txt.