On Fri, Jul 1, 2011 at 7:30 AM, Daniel Wambold <wambo...@gmail.com> wrote:
> Hello. I have an iPhone app (SDK 4.3) that uses symmetric key encryption (AES 
> 256, through the CommonCrypto library). I have the parameters set to use 
> pkcs7 padding, and an iv of all zeros (CBC mode). My question (somewhat off 
> the lists's topic, I'm afraid) is that I need to help our IT people get a 
> file encrypted in this format on a Windows system. I was wondering if anyone 
> has accomplished this task. I strongly prefer that they use open-source code 
> (or something from a major developer, but it'll have to be free, then) if 
> possible, for obvious security reasons, but they don't seem to be able to 
> compile stuff, so I'm hoping to find an open source project that comes with a 
> precompiled binary. Any thoughts? Thanks for any help you might provide!
Either OpenSSL or Crypto++ should be fine for the job. For OpenSSL,,
use the EVP_* functions. For Crypto++, use an CBC_Mode<AES> as
documented at http://www.cryptopp.com/wiki/CBC_Mode (use FileSource
and FileSink rather than a StringSource and StringSink). Crypto++ also
has iOS porting notes at http://www.cryptopp.com/wiki/IOS.

Also see Peter Guttman's cryptlib and Botan (open source, but I don't
use them). You can also use Windows' built in gear (CAPI) - use it
raw, or use a wrapper (such as
http://www.codeproject.com/KB/security/WinAES.aspx).

Jeff
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to