Sample code for 30+ languages & platforms
Classic ASP

Example: Crypt2.CrcFile method

Demonstrates how to call the CrcFile method.

Chilkat Classic ASP Downloads

Classic ASP
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<%
set crypt = Server.CreateObject("Chilkat.Crypt2")

filePath = "c:/temp/someFile.dat"

crc32 = crypt.CrcFile("crc-32",filePath)
Response.Write "<pre>" & Server.HTMLEncode( crc32) & "</pre>"

crc8 = crypt.CrcFile("crc8",filePath)
Response.Write "<pre>" & Server.HTMLEncode( crc8) & "</pre>"

%>
</body>
</html>