Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Encryption of data in database files
Message
De
24/08/2000 10:53:27
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00408569
Message ID:
00408757
Vues:
13
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform