[AccessD] Encryption

Gustav Brock gustav at cactus.dk
Wed Jan 7 01:45:23 CST 2004


Hi Robert and Stuart

Lookup my message:

  Re: [AccessD] Encryption/decryption (was: Registration Techniques)

from 2002-09-18 for a complete high-speed PC1 Access 97 module. Should
work for A2000/2003 as well.
That said, a PowerBasic dll would probably run way faster ...

/gustav


>>  Instead of re-inventing the wheel here, does anyone have some code that
>> will allow me to pull the body of an e-mail (or a very large string even)
>> and encrypt it with out first writing it to a text file? I've tried three
>> different cipher routines, but they all want to break up the String. So I'm
>> left with only the first section in the string....
>> 
> How large is large?

> Here are  some routines that use PC1 (see 
> http://membres.lycos.fr/pc1/)

> Theorectically, it will handle any length of string up to 1/2 the 
> maximum allowable string length for your development environment.
> (The encryted string is always exactly twice as large as the 
> original.)

> This VBA versions works fairly well up to about 30 - 40K on my PC
> (1 -2 secs to encode, virtually instantaneous decode), but as the 
> original string gets bigger, it takes *a lot*  longer to encrypt. 
> (70K = 12 secs, 80K = 22 secs, 90K = 38 secs etc but decrypt is still 
> only about 3 secs at 90K).  

> If you want to use larger strings, I can let you have a DLL version 
> of this which I built in PowerBasic. It is *much* faster



More information about the AccessD mailing list