Skip to main content

util.sha256()

Synchronous SHA-256 hash. Payload: at most 5242880 UTF-8 bytes (5 MiB). Invalid types/options throw TypeError; size/range throws RangeError.

Signature

Example

See all util methods or runtime basics.
Last modified on November 8, 2026