by chlock [taylor at innovaworks dot net] posted on 2005/04/22 |
|
I'm trying like crazy to encrypt with C# and decrypt with OpenSSL. Specifically, as if I had done the encryption with the OpenSSL command line utility like so:
OpenSSL> enc aes-256-cbc -salt -p -in myInFile.cfg -out myOutFile.cfg
OpenSSL asks for a password, and then it generates the Key and IV via it's key derivation function. This appears to be the downfall of the code that I have. My KDF is different, epecially in that it does not return an IV at all.
Does your library have a function that emulates the behavior of the OpenSSL KDF?
|