|
Go to Download
Active Unix Crypt Object
2.0 What
is Active Unix Crypt Object Component? Active Unix Crypt is
a small & fast windows component that behaves like Unix crypt() function,
supporting both DES (2 salt characters) and MD5 (up to 8 salt characters) algorithm.
It can also determine whether crypted is a DES or MD5-crypt automatically. Because
it's entirely written in C++, it's fast, safe, and can be used in both STA and
MTA threaded environment. This component is designed for C++, Visual Basic, ASP,
Delphi, PHP, Perl, and any other component-aware environment.
Installation
After download ActiveUnixCrypt.zip file, use Unzip Utility such as (WinZip)
to extract, and run Setup.exe
Upgrades
Upgrade is free for a minor version change. For example, upgrading from 3.50 to
3.99. However, 3.50 to 4.00 may require a small upgrade fee. (Which will be also
posted) Registration
When
you purchase (or register) Active Unix Crypt Object Component, it is for a single
computer (or server) use. If you plan to use in a multiple machines,
you must purchase license separately. The price is $49.00
for each computer. For
multiple quantities: 2
Servers: $95.00 3
Servers: $139.00 5
Servers: $210.00 Site
License: $360.00 / Unlimited copy within a single location (site) Enterprise
License: $1300.00 / Unlimited within a single company / organization Developer
License: $459.00 Royalty free unlimited distribution within your product
(as long as the final
product is not another crypt-only product) Upgrade
Instructions Please
follow these steps to upgrade the component from a previous version
For VB, Delphi, VC++,
or any other component environment Exit the program that uses comUnixCrypt.dll,
and run setup.exe or overwrite comUnixCrypt.dll For
web server use, stop all IIS related services such as FTP and W3SVC. (See
IIS documentation how to stop these services) At DOS prompt, change to the
directory where the comUnixCrypt.dll component is and type "regsvr32 /u comUnixCrypt.dll"
Move the new version
of comUnixCrypt.dll to that same directory and type "regsvr32 comUnixCrypt.dll"
Restart the necessary
services. If
.dll cannot be registered, you must reboot the server, in order to free the .DLL
from the memory pool.
| Q&A |
| It never
works. I get "Server object error xxx." or "Can't create ActiveX
component" | You
did not register .dll component correctly on your server. 1. See Installation
above. (You must run regsvr32.exe comUnixCrypt.dll on DOS prompt) 2.
You moved your .DLL file after you registered it. 3. If used for ASP
or inside internet environment, IIS do not have enough permission. (At least read)
4. Your server have no memory and cannot create additional object.
5. Your evaluation copy expired. If you purchased the component, just re-register
the new component. (May require IIS restart) | | How
do I upgrade to the latest version? | Just
download the latest evaluation version, and follow the instruction. |
| Can I
redistribute this control with my products? | You
must purchase Developer version. Developer
License |
| Active
Unix Crypt Object Methods | | Method | Parameters | Return
Value | Description |
string
crypt(string word, string salt) | String | String | Does
crypt() on the word with the salt string. The salt can be 2 character, then
crypt() will do DES crypt.
If the salt starts with $1$ or $apr1$, (salt
ID) etc., then this function does MD5 crypt based on the salt ID value.
Example (VB & ASP): dim
result crypt = createObject("comUnixCrypt.UnixCryptObj") result
= crypt.crypt("mypassword", "ab") ' DES crypt() result
= crypt.crypt("mypassword", "$1$abcdefgh") ' MD5 crypt()
| string
cryptDES(string word, string salt) | String | String | Do
DES crypt on the word and salt.
dim
result crypt = createObject("comUnixCrypt.UnixCryptObj") result
= crypt.crypt("mypassword", "ab") ' DES crypt()
|
string
cryptMD5(string word, string salt) | String | String | Do
MD5 crypt on the word and salt. The salt value must start with salt ID, such
as $1$ or $apr1$, etc. Example
(VB & ASP): dim
result crypt = createObject("comUnixCrypt.UnixCryptObj") result
= crypt.crypt("mypassword", "$1$abcdefgh") ' MD5 crypt()
|
| Active
Unix Crypt Object Example (Visual Basic) |
'
This example displays both DES and MD5 crypt result
Dim crypt Set crypt = CreateObject("comUnixCrypt.UnixCryptObj")
msgbox crypt.cryptDES("mypassword", "ab") msgbox crypt.cryptMD5("mypassword",
"$1$IPY7kkNz") | |
| Active
Unix Crypt Object Example (ASP) |
'
This example displays both DES and MD5 crypt result
Set crypt = Server.CreateObject("comUnixCrypt.UnixCryptObj")
Response.Write crypt.cryptDES("mypassword", "ab") &
"<br>" Response.Write crypt.cryptMD5("mypassword",
"$1$IPY7kkNz") | |
Further instructions and documentation
are available in doc.htm file included in the distruction, or online
at http://www.comsoltech.com/products/components/
support@comsoltech.com
Order online: 1
Server: $49.00
2 Servers:
$95.00 3
Servers: $139.00 5
Servers: $210.00 Site
License: $360.00 / Unlimited copy within a single location (site) Enterprise
License: $1300.00 / Unlimited within a single company / organization Developer
License: $459.00 Royalty free unlimited distribution within your product
To order Active
Unix Crypt Object Component via phone, please call RegNet at 1-800-999-2734
(U.S. customers only) and International customers can call RegNet at 1-805-288-1827.
Please allow 12-24 hours for order processing.
|