Sha256

The Sha256() function hashes a specified text string with SHA256, and returns a hexadecimal text string. This hash function is preferred to SHA-1, being more secure.

WIKI: http://en.wikipedia.org/wiki/SHA-2

This function is NOT SQL compatible. For more information about SQL compatibility, see our documentation.

Hashed values cannot be decoded, usually you check an incoming value against a known value that you hash yourself and check if both values are identical, to verify correctness without knowing the actual value.

Returns a hexadecimal text string. Returns Unknown if one of the parameter values is unknown or outside the common valid boundaries.

Syntax

Sha256(text)

Sha256("") => "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"

Sha256("The quick brown fox jumps over the lazy dog.") => "ef537f25c895bfa782526529a9b63d97aa631564d5d789c2b765448c8635fb6"

Parameters

NameTypeRequiredDescription

text

text

a text

Last updated