Ring ring
/ /

XtScript Function: md5

Calculate the md5 hash of a string.

md5 is an XtScript function that will calculate the and return the md5 checksum of a string.

XtScript md5 function basic syntax:

<!--parser:xtscript-->
	call md5 $val=...
<!--/parser:xtscript-->

Learn XtScript md5 function from examples

Calculate the md5 checksum value of a string using md5 function.

- Code:
<!--parser:xtscript-->
	var $text = Coding is fun!
	var $text_md5 = call md5 $val=$text

	print Text: $text <br/>
	print MD5: $text_md5
<!--/parser:xtscript-->
- Result:
Text: Coding is fun!
MD5: 87c34aa3e993f7e258ec0fcf69afceda