Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ideas for storing numeric data encrypted?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012 R2
Network:
Windows Server 2012 R2
Database:
Visual FoxPro
Application:
Desktop
Virtual environment:
VMWare
Miscellaneous
Thread ID:
01660727
Message ID:
01660739
Views:
88
You can always convert a number to a string and encrypt that and reverse the process on the other end. You can also use the data as bytes but you'll have to use the wwDotnetBridge helpers directly.

+++ Rick ---


>Hi,
>
>Client has asked that key fields in their tables be encrypted (native VFP tables). This is fairly easy to do via wwEncryption from WestWind - at least for text data.
>
>For numeric data, the data has to be converted to a string, then encrypted and then stored as a string (same goes for date data).
>
>Question: instead of encrypting the numeric data, is there any other field type that I could convert the data to such that it would obfuscate it (render it less meaningful for the casual hacker) and to save a round trip through converting to string, encrypting and back again?
>
>I thought of storing a log value to the table but I think the amount of decimals stored is going to throw off the conversions.
>
>Anyhow, just thought I would ask in case someone who does more "mathy" stuff knows if VFP has some capability I am not aware of.
>
>Thanks,
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Reply
Map
View

Click here to load this message in the networking platform