Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Encryption of data in database files
Message
From
24/08/2000 10:53:27
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00408569
Message ID:
00408757
Views:
12
Hi Jim,

>Is there a FREE Encryption add-in for VFP6?

IIRC, Mike Helland? wrote a FAQ on how to do simple encrypttion on a string using character translation.

FUNCTION ENCRYPT
LPARAMETERS tcStr

LOCAL x
LOCAL lcRetStr
LOCAL lcTrnStr

*validate the parm
IF TYPE('tcStr')<>'C'
RETURN .F.
ENDIF

lcTrnStr=''

FOR x=255 TO 1 STEP -1
lcTrnStr=lcTrnStr+CHR(x)
ENDFOR

lcRetStr = SYS(15,lcTrnStr,tcStr)

RETURN lcRetStr


HTH
Jon
Previous
Reply
Map
View

Click here to load this message in the networking platform