Encryption using ABCCrypto

ABCCrypto is an ATL COM component for encrypting and decrypting data. It's incredibly simple to use and works with virtually any format you'll ever come across. You can encrypt or decrypt variants, BLOB data or files.

ABCCrypto uses the standard Windows Cryptography API to ensure consistent behavior across all platforms. It uses RSA Encryption with 40 bit keys for a practical level of security throughout virtually any country in the world.

Because ABCCrypto is Unicode compliant throughout, you can use it with any language from English to Arabic to Korean.

Data Encryption

Just to show you how simple it is to use, here's an example of how to encrypt a string of text and then write the encrypted data to a browser.

Set cr = Server.CreateObject("ABCCrypto2.Crypto")
cr.Password = "mypassword"
theText = theCrypto.Encrypt("my secret")

File Encryption

If you want to encrypt a file that couldn't be easier either. Your file encryption code will look something like this.

Set cr = Server.CreateObject("ABCCrypto2.Crypto")
cr.Password = "mypassword"
theCrypto.EncryptFile "c:\secret.txt", "c:\encrypted.txt"

ASP and VB - Visual Basic

You can use ABCCrypto from ASP, Visual Basic or any scripting language that supports the Microsoft ActiveX Scripting interfaces.

These include VBScript (Visual Basic Scripting Edition), JScript, PERLScript, PScript, and Python. ABCCrypto runs on Windows 2000, Windows NT, Windows XP, Windows Vista and Windows 2003.

Because ABCCrypo is both threaded it's ideal for use under IIS.