luvlee_ghg
November 23rd, 2007, 12:55 PM
Hi All,
I have been trying to encrypt and decrypt files using Microsoft APIs CryptEncrypt() and CryptDecrypt(). It works fine for me when I do both encryption and decryption in same operating systems. I am trying with windows 2000 and windows 2003.
The problem arises for me when I encrypt the file in windows 2000 and and try decrypting it in windows 2003. In such scenario decryption fails with the error NTE_BAD_DATA. I have no clues on how to solve this issue. The code that I am using is same for both the operating systems. Your help is highly appreciated. Thanks in advance..
I have been trying to encrypt and decrypt files using Microsoft APIs CryptEncrypt() and CryptDecrypt(). It works fine for me when I do both encryption and decryption in same operating systems. I am trying with windows 2000 and windows 2003.
The problem arises for me when I encrypt the file in windows 2000 and and try decrypting it in windows 2003. In such scenario decryption fails with the error NTE_BAD_DATA. I have no clues on how to solve this issue. The code that I am using is same for both the operating systems. Your help is highly appreciated. Thanks in advance..