Skip to content
Math & Text sha256

$sha256 — SHA-256 digest of a text.

SHA-256 digest of a text.

Syntax

$sha256[text;(encoding)]

Parameters

  • text (text, required) — The text.
  • encoding (text, optional) — hex (default) or base64.

Return Value

  • string.

Usage

$sha256[a] → ca978112…

Example

$sendMessage[$sha256[a]]

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.