Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Encryption strategy
Message
From
26/04/2012 09:29:02
 
 
To
26/04/2012 05:59:51
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01542639
Message ID:
01542664
Views:
70
>I'm trying to implement a strategy by which a VFP application can send encrypted data to a .NET 3.5 Web Service. I've managed to get unencrypted data sent from the app to the Web Service with a minimum of problems, so the only thing left to implement is encryption. I know of at least two ways that VFP can encrypt data, the FFC Crypto class and the vfpencryption71 FLL. What I need to know is how to set up one of these such that the Web Service can understand what is being sent, as well as what strategy should be used by the Web Service to decrypt the data. Any assistance in this would be appreciated.

If you really need to encrypt, then it is a question of knowing if you control both ends. If yes, then you need to decide on which encryption mechanism to use. As you need to support two development environments, you would have to expose a DLL which both environments can access to encrypt and decrypt. So, basically, you would end up building a separate project, probably in .NET, to encrypt and decrypt. Then, from VFP, you can load it and call its encryption method. From .NET, you just need to add a reference to it in your project and decrypt.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform