Go to main content

sha1

Calculate the sha1 hash of a string.

SHA1

NAME

sha1 - Calculates the sha1 hash of a string.

SYNOPSIS

sha1(string)

PARAMETERS

string
The input string.

RETURN

Returns the hash as a 40-character hexadecimal number.

EXAMPLES

Note: In the followings examples, the _ between the { should be removed to make it work.

res={_{sha1("pierre")}}. return res=ff019a5748a52b5641624af88a54a2f0e46a9fb5.

SEE ALSO

{{ include("includes/strings.sn") }}

AUTHOR

Written by Pusnei Sergey and Caroline Laplante, <sergey@sednove.com>

MODIFICATIONS

1.0 2014-09-09 21:24:14 laplante@sednove.com

Edit

© 2024 extenso Inc. All rights reserved.