Computes a SHA-256 hash digest.
hash_sha256(x:any, [seed=string]) -> stringDescription
Section titled “Description”The hash_sha256 function calculates a SHA-256 hash digest for the given value
x.
Examples
Section titled “Examples”Compute a SHA-256 digest of a string
Section titled “Compute a SHA-256 digest of a string”from {x: hash_sha256("foo")}{x: "2c26b46b68ffc68ff99b453c1d30413413422e6e6c8ee90c3abeac38044e8a8c1b0"}See Also
Section titled “See Also”hash_md5,
hash_sha1,
hash_sha224,
hash_sha384,
hash_sha512,
hash_xxh3