Sytze de Boer wrote:
> Michael
> Thank you for your offer
> I have sent you my test file
> By the way, I have tried every which way with your sample SCX and can NOT
> log in.
> 
> Do I have incorrect FLL file, or is it corrupted maybe.


No, your FLL was the same as mine.  Plug this code into your program.  I 
changed it ever so slightly for the purposes of demonstration.

#DEFINE MYKEY "12345678901234567890123456789012"

CLOSE DATABASES ALL
USE windebs
REPLACE ALL ad4 WITH "" IN windebs
BROWSE NOEDIT TITLE 'Data before encryption'

SET LIBRARY TO vfpencryption.fll

* first, we'll encrypt the values
REPLACE ALL ad4 WITH encrypt(ALLTRIM(ad3)+CHR(0),MYKEY,2)

BROWSE NOEDIT TITLE 'See...here it is encrypted.'

* next, we'll decrypt it and then show it again
REPLACE ALL ad4 WITH ALLTRIM(CHRTRAN(decrypt(ad4,MYKEY,2),CHR(0),""))

BROWSE NOEDIT TITLE 'After decrypt...'

SET LIBRARY TO



_______________________________________________
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