Skip to main content
Version: 24.3.x

Categories: Cryptography

SHA256

Computes the 256-bit SHA-2 hash value of a string.

Syntax

SHA256(expression varchar) → varchar

  • expression: The string to hash.

Examples

SHA256 example
SELECT SHA256('Dremio')
-- ffae26c65c486a4d9143cbb1a6829166f17dab711910fdfc5787b1a249bd9921