ColdFusion Hash() function with MD5 algorithm

Hash() - MD5 algorithm

HashMD5.cfm


<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Hash function example: how to use Hash function with MD5 algorithm</title>
</head>

<body>
<h2 style="color:Crimson">Hash Function Example: MD5</h2>

<cfset TestString="This is a string">
<cfset HashTestString=Hash(TestString,"MD5")>
<cfoutput>
<b>TestString:</b> #TestString#
<br />
<b>Hash TestString[algorithm MD5]:</b> #HashTestString#
</cfoutput>
</body>
</html>





More ColdFusion example