Sorry to bother you again, but is my understanding correct that the code
should work lie this ?

param onoff
SET LIBRARY TO VFPENCRYPTION.FLL ADDIT
IF turnonoff
   REPLACE ALL caction WITH
encrypt(caction,"12345678901234567890123456789012",2)
ELSE
   REPLACE ALL caction WITH
decrypt(caction,"12345678901234567890123456789012",2)
ENDIF

Is that what you mean by 32 char encryption key ?
If so, it encrypts fine, but does NOT decrypt


On Fri, Jun 6, 2008 at 1:58 AM, MB Software Solutions General Account <
[EMAIL PROTECTED]> wrote:

> Allen wrote:
> > Im not sure what your having problems with. I don't add chr(0) and I have
> it
> > working using 1024.
> > Allen
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> On
> > Behalf Of MB Software Solutions General Account
> >
> > I get the same error!!!!  And is has nothing to do with an index in my
> case,
> > as there's no index on my cPassword field.  And it's setup as char(32).
> >
>
>
> Oh I can get it working using 1024, but I wanted to get it working using
> 2 (AE256).
>
> Got an email from Craig overnight telling me that my encryption key must
> be 32 characters in length....I had mis-read the docs to be that the
> table.field had to be 32 characters in width.
>
> Going to try again today with proper length key!
>
>
[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.

Reply via email to