[AccessD] Strong encryption (was: HashBytes)

Gustav Brock Gustav at cactus.dk
Sat Mar 1 08:52:37 CST 2008


Hi all

I noticed this set of free components, ebCrypt, for the purpose:

  http://www.ebcrypt.com/

<quote>
Symmetrical encryption algorithms: IDEA, BLOWFISH, CAST5, DES, 3DES, RIJNDAEL, SERPENT, TWOFISH 
Hashing algorithms: MD5, RIPEMD160, SHA1 
Diffie-Hellman key exchange protocol; 
DSA public/private key support, including key generation, export/import and digital signatured; 
RSA public/private key support, including key generation, export/import and digital signatured; 
X.509 Public key certificate support; 
Other: high level functions provided to do one function call file encryption/decryption, conversion to hex and base64 strings. 
</quote>

I haven't worked with it so no experience to share.

/gustav


>>> Gustav at cactus.dk 18-09-2007 11:36 >>>
Hi John and Borge

I would expect a linear relation between string length and conversion time.
And it is right, speed is not impressive due to the many calculations that have to be done. 
To gain real speed, an DLL or OCX would be needed like this commercial tool:

http://www.chilkatsoft.com/crypt-activex.asp 

Perhaps someone could try to create an DLL in .Net? As far as I know, .Net contains a class for several types of encrypting, so it should be straight forward to carry out ...

/gustav

>>> pcs at azizaz.com 18-09-2007 04:54 >>>
John,
I saw that Gustav had modified the code:
"'   Modified for high speed conversion of long strings ( > 32K)."

Curious if you have any test data for big chunks of strings?

Regards
Borge


---- Original message ----
>Date: Mon, 17 Sep 2007 16:13:50 -0400
>From: "jwcolby" <jwcolby at colbyconsulting.com>  
>Subject: Re: [AccessD] Strong encryption (was: HashBytes)  
>To: "'Access Developers discussion and problem solving'" 
<accessd at databaseadvisors.com>
>
>Thanks Gustav, I just imported this into a class in my C2DbFW3G framework,
>and wrote a couple of functions to test it.  It is not particularly speedy,
>taking about .75 milliseconds to encrypt / decrypt a short string "this is a
>drill, this is a drill".  It scales linearly, i.e. it takes about twice as
>long to do the same string appended to itself once, and three times as long
>for the same string appended to itself twice.
>
>But of course this is interpreted basic, and it does appear to work just
>fine so there ya go.
>
>John W. Colby
>Colby Consulting
>www.ColbyConsulting.com 
>-----Original Message-----
>From: accessd-bounces at databaseadvisors.com 
>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of 
Gustav Brock
>Sent: Monday, September 17, 2007 5:01 AM
>To: accessd at databaseadvisors.com 
>Subject: Re: [AccessD] Strong encryption (was: HashBytes)
>
>Hi Max
>
>Yes, just a week ago I posted this for Arthur with a non-informative subject
>(Transactions):
>I've used that for mdb files sent over the Internet thus eliminating the
>need for VPN or encrypted mail. I just zipped and attached the mdb files.






More information about the AccessD mailing list