ASP Examples

ChilkatHOMEASPVisual BasicVB.NETC#Visual C++CMFCDelphiFoxProJavaPerlPHPPythonRubySQL ServerVBScript

ASP Examples

ASP String
ASP Byte Array
Bounced Mail
Character Encoding
Digital Certificates
Digital Signatures
Email
FTP
HTML-to-XML
HTTP
IMAP
Encryption
MHT / HTML Email
S/MIME
Socket
Spider
RSA Encryption
Tar
ASP Upload
XML
XMP
Zip Compression

More Examples...
Email Object
POP3
SMTP
RSS
Atom
Self-Extractor

Unreleased...
Service
PPMD
Deflate
Bzip2
LZW
Bz2
DH Key Exchange
DSA
Icon

 

 

 

 

 

 

List CSP Encryption Algorithms

This ASP script lists the encryption algorithms provided by the Microsoft Enhanced CSP

<html>
<head>
<title>List Encryption Algorithms</title>
</head>
<body>
<%
set csp = Server.CreateObject("ChilkatUtil.ChilkatCSP")

' Select the Microsoft Enhanced Cryptographic Service Provider
csp.SetProviderMicrosoftEnhanced

' List the encryption algorithms provided by the Enhanced Microsoft CSP.
' A sample output looks like this:
'Encryption Algorithms:
'0: RC2(128 bits)
'1: RC4(128 bits)
'2: DES(56 bits)
'3: 3DES TWO KEY(112 bits)
'4: 3DES(168 bits)

Response.write "<b>Encryption Algorithms:</b><br>"
n = csp.NumEncryptAlgorithms
for i = 0 to n-1
	Response.Write i & ": " & csp.GetEncryptionAlgorithm(i)
	Response.Write "(" & csp.GetEncryptionNumBits(i) & " bits)<br>"
next

%>
</body>
</html>

 

Need a specific example? Send a request to support@chilkatsoft.com

© 2000-2008 Chilkat Software, Inc. All Rights Reserved.