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

 

 

 

 

 

 

Binary to Hex Converter

Binary to hex converter in ASP. This script converts a binary byte array to a hex string.

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

crypt.CryptAlgorithm = "none"
' Encode the output in a hexidecimal string.
crypt.EncodingMode = "hex"

' Create a byte array containing 10 bytes.
dim bData(9)
for i = 0 to 9
bData(i) = CByte(i)
next

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

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

%>
</body>
</html>
 

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

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