|
|
|
Download
Free Evaluation
Download
Documentation |
HsCipherSDK
Encryption Library |
PRICES AND
ORDERING:

ORDER
NOW
what is included in HsCipherSDK?
HsCipherSDK Standard Edition:
HsCipherSDKdll.dll - standard DLL module for use from Visual C
applications
HsCipherSDKvb.dll - standard DLL module for use from Visual Basic
applications
HsCipherSDKax.dll - ActiveX (COM) dll for use from Visual C,
Visual Basic or other languages supporting ActiveX.
HsCipherSDK.hlp - Windows documentation file (this file)
HsCipherSDKmanual.pdf - User Manual in PDF format
HsCipherSDK_TestAXvb - Visual Basic test application with source
code using ActiveX HsCipherSDKax.dll
HsCipherSDK_TestAXvc - Visual C test application with source code
using ActiveX HsCipherSDKax.dll
HsCipherSDK_TestVC - Visual C test application with source code
using standard DLL HsCipherSDKdll.dll
HsCipherSDK_TestVB - Visual Basic test application with source code
using standard DLL HsCipherSDKvb.dll
HsCipherSDK Blueprint Edition:
HsCipherSDK Blueprint edition Includes everything in Standard edition plus FULL
SOURCE CODE in Visual C (plain C style), including all core
cryptographic libraries
limitations
in evaluation version:
There are several limitation in the
evaluation version of HsCipherSDK library, which are removed from the
full version:
Every time
evaluation version of HsCipherSDK library is loaded it displays a
reminder message (nag screen), which requires a user to click Okay to
continue.
Evaluation verion
has a built it time limit. After evaluation period expires, the library
will fail to load and will only display the corresponding message
No source code is
supplied with free evaluation version. The full source code is supplied
with full version of HsCipherSDK Blueprint
edition |
overview:
HsCipherSDK is an Encryption Library providing an API
to a suite of symmetric key cryptographic algorithms and one way hash
digital signature algorithms. The library includes the following block
and stream cipher modules:
AES
(Advanced Encryption Standard) - FIPS 197
DES and
Triple DES (Data Encryption Standard) - FIPS-46-1, FIPS-46-3
ARC4 (Alleged
RC4) CAST-128 (a.k.a CAST5) - RFC 2144
Blowfish
algorithm
Twofish
algorithm
MD5 message
digest algorithm -
RFC 1321
SHA-1
(Secure Hash Algorithm)
-
RFC 3174
SHA-256
(Secure Hash Algorithm)
-
FIPS 180-2
HsCipherSDK includes s
standard DLL for use from Visual C, standard DLL for use from Visual Basic
and ActiveX DLL (COM object) for use from Visual C, Visual Basic or any
other language supporting activeX. HsCipherSDK itself is fully written in
Visual C (plain C style) and the source code is included with
HsCipherSDK
Blueprint edition

HsCipherSDK allows the
calling user application to perform the following operations:
Encrypt and decrypt memory buffers with selected algorithm and key
Encrypt and decrypt disk files with selected algorithm and key
Digitally
sign buffers using one of selected hashing algorithms
Digitally
sign disk files using one of selected hashing algorithms
Example
Invocation (using ActiveX DLL) from Visual C
|
|
#include
"HsCipherRc.h"
#include
"HsCipherAlg.h"
#import
"HsCipherObj.dll"
CoInitialize(NULL);
HsCipherLib::IHsCipherPtr pCryptoSdk;
pCryptoSdk.CreateInstance("HsCipherSDK.Cryptolib");
pCryptoSdk->BufferEncrypt(HS_ALG_AES,
TRUE, (long)key,
128, (long)pt,
(long)ciphertext,
16, &outlen,
&rc);
|
Example Invocation
(using ActiveX DLL) from Visual Basic
Rem
From Visual Basic go to Project menu -> references -> browse and add
HsCipherSDKax.dll
Dim iHsCipher As
HsCipherLib.iHsCipher
Set iHsCipher =
CreateObject("HsCipherSDK.Cryptolib")
iHsCipher.BufferEncrypt HS_ALG_AES,
1, VarPtr(key(1)), 128, _
VarPtr(plaintext1(1)),
VarPtr(ciphertext(1)), 16, outbuf_len, rc
|
|
|
Example Invocation (using Standard DLL) from Visual C
#include "HsCipherSDK.h"
#include
"HsCipherRc.h"
#include
"HsCipherAlg.h"
HINSTANCE hinstLib;
BufferEncryptFn BufferEncrypt;
hinstLib =
LoadLibrary("HsCipherSDKdll.dll");
BufferEncrypt = (BufferEncryptFn)
GetProcAddress(hinstLib, "HsCipherBufferEncrypt");
rc
= BufferEncrypt(HS_ALG_AES,
TRUE, key,
keylen,
srcbuf,
destbuf, buflen,
&outbuf_len);
FreeLibrary(hinstLib);
|
Example
Invocation (using Standard DLL) from Visual Basic
Public Const HS_ALG_AES As Long = 0
Declare Function
HsCipherBufferEncrypt Lib "HsCipherSDKvb.dll" _
(ByVal algorithm
As Long, _
ByVal set_key As
Long, _
ByRef key As Any,
_
ByVal
keysize_bits As Long, _
ByRef inbuf As
Any, _
ByRef outbuf As
Any, _
ByVal inbuf_len
As Long, _
ByRef outbuf_len
As Any _
) As Long
HsCipherBufferEncrypt HS_ALG_AES, 1,
ByVal VarPtr(key(1)), 128, _
ByVal VarPtr(plaintext1(1)), ByVal
VarPtr(ciphertext(1)), 16, ByVal VarPtr(outbuf_len)
|
|
|
|
|