Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
.NET Compatible encryption library
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01407945
Message ID:
01408901
Vues:
83
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform