Archive

Posts Tagged ‘Objective C’

AES interoperability between .Net and iPhone

February 12th, 2009 David Veksler 19 comments

One of my projects requires encrypting data on the iPhone and decrypting it using .Net. This is easy to do with the Common Crypto library in the iPhone SDK and the AesCryptoServiceProvider class in .Net, but the encryption parameters have to be the same for it to work.

I couldn’t figure it out, but the geniuses at StackOverflow did, so I am posting my results here. The zip file includes a basic iPhone app and a .Net console project with helpful classes to do the encryption/decryption and base64 conversion. I didn’t write most of the code – thanks to Blue Beetle for the .Net code and Greg Haygood for the Objective C.

Download zip.

OS X development resources?

December 31st, 2008 David Veksler No comments

Here’s an interesting collection of online Objective C/Cocoa tutorials. Can anyone suggest other online resources? I don’t have a good record of reading dead-tree instructional materials :-/

Update: here is a free ebook on OS X development.  I just pre-ordered this (the first edition has great reviews)
Programming in Objective-C 2.0 (2nd Edition) (Developer’s Library)

Categories: development Tags: , ,