Plse forget my earlier post As soon as I removed the index key, it call came right.
How can I use a simple encrypt/decrypt command with a memo file ? REPLACE ALL memopad WITH ENCRYPT(myfile.memopad,"RUSHLIFE",1024) causes an error with Data type mismatch On Thu, Jun 5, 2008 at 8:45 AM, Michael Donakd Goslin <[EMAIL PROTECTED]> wrote: > Michael, > > If I recall correctly, I think you need a 32 characters key for AES256. > Perhaps you can test using PADR( cpassword, 32, ' ') > > --michael > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of MB Software Solutions General Account > Sent: Wednesday, June 04, 2008 2:09 PM > To: ProFox Email List > Subject: VFPEncryption.fll -- problem with decrypt > > (vfp9sp1) > > I must be having a brain fart. I've downloaded Craig's VFPEncryption.fll > and am trying to do simple encrypt and decrypt with the AE256 option > (nEncryptionType=2) > > * all passwords set to PASSWORD at this point for test set library to > vfpencryption.fll REPLACE ALL cpassword WITH > encrypt(ALLTRIM(luusers.cpassword)+CHR(0),"test!me",2) FOR NOT lencrypted > AND NOT EMPTY(cpassword) > > I added the CHR(0) as I thought Craig said to do in the docs. > Ok...seems to encrypt the values. But when I decrypt, the value that > returns is NOT the original value. Somehow, I'm screwing up how to handle > the CHR(0)s apparently. Here's my DECRYPT command: > > WAIT WINDOW decrypt(cpassword,"test!me",2) && return value is not even > close! > > > I did some derivative before that got me PASSWORD followed by some crap, > but I can't seem to get back to what I did. > > Can someone who uses this fine FLL help me out with their approach? My > inkling is to use the 1024 Encryption mode, but I'm sure my coworker > will want to use the AE256 instead, so I want to get that option working. > > TIA!!! > --Michael > > > > [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

