ASP Examples

ChilkatHOMEAndroid™ASPVisual BasicVB.NETC#iOS (IPhone)Objective-CC++CMFCDelphiFoxProJavaPerl
PHP ExtensionPHP ActiveXPythonPowerShellRubySQL ServerVBScript

ASP Examples

ASP String
ASP Byte Array
Bounced Mail
Bz2
Character Encoding
CSV
Digital Certificates
Digital Signatures
Email
FTP
HTML Conversion
HTTP
IMAP
Encryption
MHT / HTML Email
POP3
RSA
S/MIME
SMTP
Socket
Spider
SSH
SSH Tunnel
SSH Key
SFTP
Tar
ASP Upload
XML
XMP
Zip Compression

More Examples...
Amazon S3
Email Object
DKIM / DomainKey
NTLM
DH Key Exchange
DSA
FileAccess
RSS
Atom
Self-Extractor
Service
PPMD
Deflate
Bzip2
LZW

 

 

 

 

 

 

Binary to URL Encoding

Download Chilkat Crypt ActiveX

ASP Script to convert from binary to URL encoding. This sample code creates a binary byte array and creates a URL-encoded string.

<html>
<body>
<%
set crypt = Server.CreateObject("Chilkat.Crypt2")
crypt.UnlockComponent "anything"

crypt.CryptAlgorithm = "none"
' Encode the output in a URL-encoded string.
crypt.EncodingMode = "url"

' Create a byte array containing 41 bytes.
dim bData(40)
for i = 40 to 80
bData(i-40) = CByte(i)
next
' The output will be:
' %28%29%2A%2B%2C%2D%2E%2F0123456789%3A%3B%3C%3D%3E%3F%40ABCDEFGHIJKLMNOP

' EncryptBytesENC accepts a binary byte array and returns an URL encoded string.
urlEncoded = crypt.EncryptBytesENC(bData)

Response.Write "<p>" + urlEncoded + "</p>"

%>
</body>
</html>
 

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