LOG IN SIGN UP
Documentation

digest.hash_sha256()

Use the SHA-256 hash. Returns a hex-encoded string.

Format

STRING
digest.hash_sha256(STRING input)

Examples

1
2
3
declare local var.hash_sha256 STRING;
set var.hash_sha256 = digest.hash_sha256("123456789");
# var.hash_sha256 now contains "15e2b0d3c33891ebb0f1ef609ec419420c20e320ce94c65fbc8c3312448eb225"