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