I got the following problem:
I have to encrypt a given text on a Windows NT machine with 3DES (using Visual Basic 6), transfer the resulted cipher to a unix machine where I want to decrypt it with openssl (symmetric encryption).
I am using the ebcrypt.dll (without salt) for that purpose, but when I try to decrypt the data on unix it tells my that it can't read the input file (or "bad decrypt"). The output cipher is base64 encoded.
If I try to encrypt the same phrase/text on unix with openssl it gives me a different cipher.
Why does an 3DES encryption with the same keyphrase (w/o salt) result in two different base64-ciphers, depending on the platform? Does VB add a nullchar or something like that, that unix don't?
Result on Windows NT: essdS+C9IDA=
Result on Unix: ZxfLoy29ydw=
Any ideas? Thanks in advance.