hash_sha256
Computes a SHA-256 hash digest.
hash_sha256(x:any, [seed=string]) -> string
Description
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: "2c26b46b68ffc68ff99b453c1d30413413422e6e"}
See Also
Section titled “See Also”hash_md5
, hash_sha1
,
hash_sha224
, hash_sha384
,
hash_sha512
, hash_xxh3