Classic ASP
Classic ASP
Example: SecureString.HashVal method
Demonstrates theHashVal method.
Chilkat Classic ASP Downloads
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<%
success = 0
set str = Server.CreateObject("Chilkat.SecureString")
str.MaintainHash = "sha256"
success = str.Append("Hello World")
encodedHash = str.HashVal("base64")
Response.Write "<pre>" & Server.HTMLEncode( encodedHash) & "</pre>"
%>
</body>
</html>