The actual application can be downloaded from this site:
Manual is very informative:
ASP/Encrypt Component
CH.1 Overview
ASP/Encrypt is a server side COM component that allows web developers to strong encrypting and decrypting of text and files. Supports the latest industry-standard strong encryption and hashing algorithms including: Blowfish, Cast 128, Cast 256, Rijndael, Serpent, Twofish, TEA, MARS, IDEA, Haval, MD5, SHA-1, SHA-512, Tiger, RipeMD-160, etc.
This component is shareware version without limitations on functionality or time. You can fully develop and test your application before purchasing this product, the only limitation is component works when client requests from the IP 127.0.0.1 or ServerIP, No requests from other IP addresses will be served. If you want to remove limitations then you have to register it for US$40.
ASP/Encrypt Component
CH.2 Features
* String encoding/decoding.
* File encoding/decoding.
* Generate a Hash value (one-way encryption algorithm) from a file or a string.
* Password generator.
* Supports encryption algorithms: Blowfish, Cast 128, Cast 256, Rijndael (AES), Serpent, Twofish, TEA, MARS, IDEA, DES, 3DES, Ice, Thin Ice, Ice 2, Misty1, RC2, RC4, RC5, RC6.
* Supports hashing algorithms: MD4, MD5, SHA-1, SHA-256, SHA-384, SHA-512, Tiger, RipeMD-128, RipeMD-160, Haval.
* Support ASP, PHP (COM class - Windows).
ASP/Encrypt Component
CH.3 Installation
* Unzip the ASPEncrypt.zip file extract to a directory.
* copy register.bat and nonnoi_ASPEncrypt.dll to the WINNT\SYSTEM32 (or WINDOWS\SYSTEM on Win95/98 or WINDOWS\SYSTEM32 on WinXP Home) directory
* run register.bat
* Done!
ASP/Encrypt Component
CH.4 Reference
HashAlgorithm
Specifies the algorithm to be used for hashing the Input data. The default algorithm is MD5.
0 - MD5 (default)
1 - MD4
2 - RipeMD-128
3 - RipeMD-160
4 - Haval
5 - SHA-1
6 - SHA-256
7 - SHA-384
8 - SHA-512
9 - Tiger
CipherAlgorithm
Specifies the algorithm to be used for encrypting the Input data. The default algorithm is BlowFish:
0 - BlowFish (default)
1 - Cast-128
2 - Cast-256
3 - DES
4 - 3DES
5 - Ice
6 - Thin Ice
7 - Ice 2
8 - IDEA
9 - MARS
10 - Misty1
11 - RC2
12 - RC4
13 - RC5
14 - RC6
15 - Rijndael (AES)
16 - Serpent
17 - TEA
18 - TwoFish
19 - XTEA (TEAV)
HashSize : ReadOnly
Size of the output of the hash algorithm (in bits) .
MaxKeySize : ReadOnly
Size of the maximum key (password) that use for the cipher algorithm (in bits) .
CipherMode
This is the current chaining mode you to use for ciphering:
0 - Cipher block chaining. (default)
1 - 8bit cipher feedback.
2 - Cipher feedback (using the block size of the algorithm).
3 - Output feedback.
4 - Counter.
HashString Function : String
This functions will hash a string, first you must have specified the hash algorithm to use.
Parameters:
InputStr - String expression that needs to be hashed.
Return Values:
Function returns hash value of the given string.
HashFile Function : String
This functions will hash a file, first you must have specified the hash algorithm to use.
Parameters:
Filename: - Specifies file name that needs to be hashed.
Return Values:
Function returns hash value of the given file.
EncryptString Function : String
This functions will encrypt a string, first you must have specified the hash and cipher algorithm to use.
Parameters:
InputStr - String expression that needs to be encrypted.
Password - The Secret (Key or Password) value that is used for encryption.
Return Values:
Function returns encrypted value of the given string.
EncryptFile Function : String
This functions will encrypt a file, first you must have specified the hash and cipher algorithm to use.
Parameters:
SourceFilename - Specifies file name that needs to be encrypted.
DestFilename - The destination file name that holds the encrypted file.
Password - The Secret (Key or Password) value that is used for encryption.
DecryptString Function : String
This functions will decrypt a string, first you must have specified the hash and cipher algorithm to use.
Parameters:
InputStr - Specifies file name that needs to be decrypted.
Password - The Secret (Key or Password) value that is used for decryption.
Return Values:
Function returns decrypted value of the given string.
DecryptFile Function : String
This functions will decrypt a file, first you must have specified the hash and cipher algorithm to use.
Parameters:
SourceFilename - String expression that needs to be decrypted.
DestFilename - The destination file name that holds the decrypted file.
Password - The Secret (Key or Password) value that is used for decryption.
GenPassword Function : String
Generate a random Password.
Parameters:
Length - Length indicates the number of password to return.
Style - (Option) Use Style to restrict the characters of Password formats.
? for 0..9,A..Z
A for A..Z
a for a..z
0 for 0..9
Ex. : Obj.Style="0??-?????" {Output: 5A4-TP04G, 9GB-98T5, 14A-8TNG4 5MA-PNN9G}
Ex. : Obj.Style="000-AAAA-????" {Output: 549-MAOP-95KG, 519-TGGB-T985, 054-KPIO-M09K}
Return Values:
Function returns string of Password.
RegisterName
if you already registered this product, input your name (company name or customer name) here.
** you must set this value before call DecryptFile, DecryptString, EncryptString, EncryptFile, HashFile or HashString.
RegisterKey
if you already registered this product, input your registration key here.
** you must set this value before call DecryptFile, DecryptString, EncryptString, EncryptFile, HashFile or HashString.
ASP/Encrypt Component
CH.5 Example
ASP : Hash Data (MD5 Algorithm)
<%
Set Obj = Server.CreateObject("nonnoi_ASPEncrypt.ASPEncrypt" )
' MD5
Obj.HashAlgorithm = 0
Response.write Obj.HashString( Request("String") )
set Obj = nothing
%>
ASP : Encrypt Data (BlowFish Algorithm)
<%
Set Obj = Server.CreateObject("nonnoi_ASPEncrypt.ASPEncrypt" )
' BlowFish
Obj.CipherAlgorithm = 0
Response.write Obj.EncryptString( Request("String"), Request("Password") )
set Obj = nothing
%>
ASP (Registered User): Decrypt Data (BlowFish Algorithm)
<%
Set Obj = Server.CreateObject("nonnoi_ASPEncrypt.ASPEncrypt" )
Obj.RegisterName = "Nonnoi"
Obj.RegisterKey = "0123456-789"
' BlowFish
Obj.CipherAlgorithm = 0
Response.write Obj.DecryptString( Request("String"), Request("Password") )
set Obj = nothing
%>