Robert Gracie
Subscriptions at servicexp.com
Wed Jan 7 20:31:36 CST 2004
Thanks Guys, I'll check it out!! Robert Gracie -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Wednesday, January 07, 2004 2:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Encryption 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 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com