Docs

sha256

Calculates the SHA256 hash of the given value.

Example

import { sha256 } from "thirdweb/utils";
const hash = sha256("0x1234");

Parameters

Returns

The SHA256 hash of the value in the specified format.