>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
"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