Home
XtGem-
Templates-
XtScript-
Translate this page
Powered by
Microsoft® Translator
Main Index
Predefined Functions
Scripts
Xtforum post
Short Url
sha1
Calculate the sha1 hash of a string
[...] = optional ... = your value
[var $... = ]call sha1 $val=...
Example code
Show as text
<!--parser:xtscript--> var $input = foobar var $output = call sha1 $val=$input print input = $input<br /> print output = $output <!--/parser:xtscript-->
Show as text
Example output
Reload
input = foobar
output = 8843d7f92416211de9ebb963ff4ce28125932878
Related pages
base64_decode
base64_encode
crc32
md5
Quick index
abs
addslashes
base64_decode
base64_encode
bin2hex
br2nl
ceil
chr
crc32
dechex
floor
hex2bin
hexdec
htmlspecialchars
lcfirst
ltrim
md5
mt_rand
nl2br
ord
pi
pow
rawurldecode
rawurlencode
round
rtrim
sha1
str_ireplace
str_pad
str_repeat
str_replace
str_shuffle
strip_tags
stripos
stripslashes
stristr
strlen
strpos
strrchr
strrev
strripos
strrpos
strstr
strtolower
strtoupper
substr
trim
ucfirst
ucwords
urldecode
urlencode
About us
Contact
Forum
Â