Frequently Asked Questions
This page answers many of the frequently asked questions about our CryptoSysTM range of products.
See the Product Feature Comparison for a comparison of the CryptoSys family of cryptographic software products.
With the VB6 and C interfaces, you need to make sure you've pre-dimensioned the string variable to receive the output data. There are instructions in the manual on how to do this. See Pre-dimensioning a String.
Please refer to our brief introductions to Using Keys in Cryptography and Using Padding in Encryption.
See a sample Visual Basic project showing how to encrypt variable-length strings 'properly' with a key derived from a text password using the PBKDF2 algorithm from PKCS #5 v2.0. The example uses AES-128 but could use any of the major encryption algorithms like Triple DES or Blowfish.
For more information about RSA keys and how they can be stored and the functions available in the Toolkit to handle them, see RSA Key Formats.
See FIPS-140 Validation.
All CryptoSys products use a simple Win32 DLLs that must be called in the same way as the Win32 API functions. They do not use ActiveX or COM. To call from an ASP page, you need an ActiveX DLL wrapper. There is an ActiveX Interface included with CryptoSys API which includes the full source code for the ActiveX DLL.
See Using CryptoSys API and CryptoSys PKI on a 64-bit system.
Yes, there are interfaces available for both CryptoSys API and the CryptoSys PKI Toolkit. The full VB.NET source code is available in both cases.
See CryptoSys API Examples VB6 to VB.NET.
Yes, see API C# Interface and PKI C# Interface The full C# source code is available in both cases.
Our CryptoSys products are aimed at developers who understand the basics of cryptography and can program to an intermediate to advanced level. The APIs have been designed to offer a choice in the methods you can use. For further help, please refer to the How To articles we've written, especially Using Padding in Encryption and Using Keys in Cryptography. See also sci.crypt FAQ.
See the answer to the previous question. The examples are provided to show the specifics of the function and, if possible, use a known test vector. If you don't understand what the examples are meant to be doing, you really shouldn't be using the product, certainly not to build a professional application. For more examples see API Examples and PKI Examples. (Yes, we did get asked this question.)
<PLUG> Go to our Kagi order page. </PLUG>
You will need the Licence ID issued to you when you first purchased the product. Go to the CryptoSys Home Page and follow the Licensed Users link for your particular product. If it keeps telling you you have entered the wrong LicenceID or "Invalid request", make sure you are attempting to download the correct product.
The Licence ID would have been in the original email sent to you by Kagi when you purchased the product. If you can't find that, send us an email giving your name, email address, company name and any other information that will help identify you as the purchaser like the approximate date of purchase.
<PLUG>If you use Outlook Express, try using our DBXanalyzer product to backup and manage your emails. Available from www.di-mgt.com.au/dbxanalyzer/.</PLUG>
Full instructions on distributing to end users are provided in the Developer Version download in the
file called distrib.txt. Distribution to end users is very simple and you do not need to use our setup program.
Note that users of the Personal or Trial versions are prohibited from distributing the product to others.
See the Triple DES page.
See the Triple DES page.
See the API Examples and PKI Programming pages (or, er, read the manual).
The .lib file in the distribution was created using MSVC++.
With Borland you need to generate a new .lib file directly from the DLL using the IMPLIB utility:
implib diCryptoSys.lib diCryptoSys.dll
implib diCrPKI.lib diCrPKI.dll
(note the order of the parameters for this command - get it wrong and it destroys your DLL!).
We've successfully tested this with Borland C++ 5.5.1 for Win32 and we're told it works with version 6.
See also the manual pages "Using With Borland C++" for
CryptoSys API and
CryptoSys PKI.
If you get Unresolved external errors, see stdlib issue.
See Extra Interfaces for interfaces to the CryptoSys PKI Toolkit in other languages. There are also examples provided for CryptoSys API in Delphi and Team Developer. You could use these examples to create your own interface.
There are (unsupported) Linux versions available for both CryptoSys API and CryptoSys PKI. These are provided in both static and shared library form so you can compile directly with your own C program.
Our product FirmaSAT is a stand-alone product which enables you to create and read digital tax receipts (Comprobantes Fiscal Digital) as specified by the Servicio de Administración Tributaria (SAT) in Mexico. See the FirmaSAT page for more details.
See My signature will not validate.
For more information, please send us a message. To comment on this page, see below.
This page last updated 27 October 2011