logo
Home XtGem- Templates- XtScript- bottom
XtGemmanual

XtScript functions

sha1

Calculate the sha1 hash of a string

Syntax

[var $... = ]call sha1 $val=...[...] optional · ... your value

Example

<!--parser:xtscript-->
var $input = foobar
var $output = call sha1 $val=$input
print input = $input<br />
print output = $output
<!--/parser:xtscript-->

Copy as text

Output reload

input = foobar
output = 8843d7f92416211de9ebb963ff4ce28125932878

Related

base64_decode base64_encode crc32 md5

XtGem manual · all sections

Powered by XtGem
About us Contact Forum top