keccak256

Calculates the Keccak-256 hash of the given value.

Example

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

Parameters

Returns

The Keccak-256 hash of the value in the specified format.