Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows Crypt API - decryption problem
Message
De
07/07/2005 12:51:56
 
 
À
07/07/2005 11:14:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
01029966
Message ID:
01030033
Vues:
18
>I have to transfer data between different locations. I chose to crypt the DBF files with crypt api. I used the "vfp8\ffc\_crypt.vcx". I was inspired from "samples\ffc\crypto.scx". I used the "encryptstrblock" method for encryption . It works fine, except that files that come from some computers
>can't be decrypted because of the following error :
>
>******************************************
>Error in form FORM1.CRYPTAPI1.CRYPTDECRYPT
>Error Severity - 2
>Error Facility - 9
>Error Code - 5
>Bad Data.
>******************************************
>
>I can't find any documentation on it. Not even in MSDN .
>Could it be because of Windows 98SE OS ?
>Could it be because of some viruses ?
>Could it be because of differnt encryption mode used by OS? 64 bits / 128 bits .



Mihai,

Most probably because of the different OS.

See:
Re: Crypt.vcx Problem on win 2000 Thread #679918 Message #679935
Re: Crypto API question Thread #941894 Message #941944


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform