Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cipher for VFP (Storing encrypted Keys)
Message
 
 
To
04/06/2003 14:47:48
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00796234
Message ID:
00796333
Views:
32
>Hello Sergey,
>could you please tell me how to encrypt the table field
>
>table name is keytbl
>
>field name is lickey which is char binary
>
>Thank you very much Sergey.
lcEncryptPassword  = "XhTYtykkgy12345"
* Encript field lickey (assuming) that it wasn't encrypted yet)
SELECT keytbl
REPLACE ALL lickey WITH Encrypt(lickey, lcEncryptPassword)
...
* Now you found record you need and want decrypt lickey
lcLicKey = Encrypt(keytbl.lickey, lcEncryptPassword)
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform