logo
Home XtGem- Templates- XtScript- bottom
XtGemmanual

XtScript functions

crc32

Calculates the crc32 polynomial of a string

Syntax

call crc32 $val=...[...] optional · ... your value

Example

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

Copy as text

Output reload

input = foobar
output = 2666930069

Related

base64_decode base64_encode md5 sha1

XtGem manual · all sections

Powered by XtGem
About us Contact Forum top