Re: Windows cryptography

2011-07-01 Thread Daniel Wambold
Hello. After further pain, I found the solution: openSSL allows -K (for the key in hex) and -iv (for the initialization vector in hex). (BOTH must be supplied if -K is used.) Consider this thread closed. Thanks to those who assisted. -Dan___ Cocoa-dev

Re: Windows cryptography

2011-07-01 Thread Jeffrey Walton
On Fri, Jul 1, 2011 at 7:30 AM, Daniel Wambold 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 li

Re: Windows cryptography

2011-07-01 Thread Daniel Wambold
OpenSSL is available for Windows, but I can't see how to feed it an encryption key, just a passphrase which is (apparently) converted to a key. However, since CommonCrypto's CCCrypt uses the key directly, that's what I've got. I'll check Cygwin out. Thanks. (Anyone know how to feed OpenSSL a key

Re: Windows cryptography

2011-07-01 Thread Jeff Kelley
I would have a look at what's available through Cygwin. With any luck something like OpenSSL is available and has the features you're looking for. Jeff Kelley On Friday, July 1, 2011, Daniel Wambold wrote: > Hello. I have an iPhone app (SDK 4.3) that uses symmetric key encryption (AES > 256, th

Windows cryptography

2011-07-01 Thread Daniel Wambold
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 g