Browse the docs

sha256

Returns the SHA-256 hash of the text as 64 hexadecimal characters.

Details #

sha256(text) takes exactly one argument and returns lowercase hexadecimal text. The text is hashed as UTF-8.

Parameters #

Takes 1 argument. {{ sha256(text) }}

Examples #

sha256("abc")
→ ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad

The result above is ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad.