Is anyone here familiar with the CryptoAPI (functionality exposed through Win32 advapi32.dll)? I'm beating my head against the wall on this project, and can't seem to find anyone that has an answer.
Background to the problem: using VB6 (maint on legacy project + dumb constraints == vb6) to encrypt some data. A requirement of the encrypted strings, is every string must encrypt to the same value (basically, if you encrypt "dog" the ciphered text must be the same every time "dog" is encrypted. From what I can tell, CAPICOM uses some time stamp as the seed, deriving a more secure, yet non-static cipher. I can not use the easy, friendly CAPICOM because of this functionality.
Problem: I'm encrypting data on my laptop, running Win XP Pro, SP2, and I am not able to decrypt the data on the database or web servers, both running Win2K. The same happens when I encrypt on the Win2K boxes - I can't decrypt on my WinXp machine, BUT data encrypted on one Win2K box WILL decrypt on either Win2K box.
Question: Does anyone know how I can encrypt my data on one Windows OS and decrypt it on another?
My exposure to crytography is via .Net, with relatively little work with any encryption/decryption in pre-.Net technologies. As I said, some odd constraints prevent me from using .Net, Java or other enterprise level toolset that might limit the problems I am experiencing.
Any insight is appreciated more than you will ever know.
Also, at this point, 3rd party COM compliant tools are a consideration.
Thanks.
Sam
Background to the problem: using VB6 (maint on legacy project + dumb constraints == vb6) to encrypt some data. A requirement of the encrypted strings, is every string must encrypt to the same value (basically, if you encrypt "dog" the ciphered text must be the same every time "dog" is encrypted. From what I can tell, CAPICOM uses some time stamp as the seed, deriving a more secure, yet non-static cipher. I can not use the easy, friendly CAPICOM because of this functionality.
Problem: I'm encrypting data on my laptop, running Win XP Pro, SP2, and I am not able to decrypt the data on the database or web servers, both running Win2K. The same happens when I encrypt on the Win2K boxes - I can't decrypt on my WinXp machine, BUT data encrypted on one Win2K box WILL decrypt on either Win2K box.
Question: Does anyone know how I can encrypt my data on one Windows OS and decrypt it on another?
My exposure to crytography is via .Net, with relatively little work with any encryption/decryption in pre-.Net technologies. As I said, some odd constraints prevent me from using .Net, Java or other enterprise level toolset that might limit the problems I am experiencing.
Any insight is appreciated more than you will ever know.
Also, at this point, 3rd party COM compliant tools are a consideration.
Thanks.
Sam