News  [SoftwareSite

Latest News
Older News
RSS Feed
 
Complete Projects
Useful Classes
Top Downloads
Message Board
AllAPI.net
 
Send Comments
Software License
Mentalis.org Buttons
Donate
 
Forums -> Security Library Forum
 
AES-256-CBC and OpenSSL  
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?

 

Copyright © 2002-2007, The Mentalis.org Team. All rights reserved.
This site is located at http://www.mentalis.org/
Send comments to the webmaster.