LOG IN SIGN UP
Documentation

digest.hash_sha1()

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

Format

STRING
digest.hash_sha1(STRING input)

Examples

1
2
3
declare local var.hash_sha1 STRING;
set var.hash_sha1 = digest.hash_sha1("123456789");
# var.hash_sha1 now contains "f7c3bc1d808e04732adf679965ccc34ca7ae3441"