Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
.NET Compatible encryption library
Message
 
To
24/06/2009 01:35:27
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01407945
Message ID:
01408901
Views:
81
Hi John,

>May I know where could I have .NET compatible VFP library? In other words, the data encrypted in VFP app can be decrypted in .NET.

The Windows Crypto API is the part of Windows that is meant for encrypting data. The .NET encryption classes call the Crypto API behind the scenes. From VFP you can use _Crypt.VCX which is located in the FFC directory of VFP.

All you have to do is to ensure that your VFP application uses the same algorithm as the .NET application expects. Also, you should make sure that encrypted content is not somehow converted due to code page changes, Unicode gateways, etc.

For Windows Vista, Server 2008 and Windows 7 there's also the Cryptography API: Next Generation, or CNG for short, which feature elliptic encryption and asymmetric algorithms.
--
Christof
Previous
Reply
Map
View

Click here to load this message in the networking platform