c
Asymmetric Encryption with the iPhone SDK and Security.framework
Submitted by greg on Sat, 01/17/2009 - 17:51As a complement to my post on symmetric encryption, here's an example of asymmetric encryption using the RSA algorithm. As before, it's based on the limited sample code I could find, but fleshed out to actually work. Check here for a little more background info. Any and all comments and criticisms are welcome. It's been a long time since I've worked in C (and even then I didn't enjoy it!).
Symmetric Encryption with the iPhone SDK and Security.framework
Submitted by greg on Sat, 01/17/2009 - 17:27As discussed here, this is a working example of using Security.framework and symmetric encryption. It uses AES128 since some of the docs suggest that the iPhone has optimized hardware for this algorithm and key size. This one is mostly based on the examples from Apple's documentation and samples. Any and all comments and criticisms are welcome. It's been a long time since I've worked in C (and even then I didn't enjoy it!). So if I could be doing anything better, let me know!
Encryption with the iPhone SDK and Security.framework
Submitted by greg on Sat, 01/17/2009 - 17:19With all the great info out there about building for the iPhone, the documentation for using encryption is pretty woeful. The developer site talks about using the Security.framework, but when it gets down to actual code, there's not much there. And it's still a leap to go from what's provided in the simplistic examples to real world stuff.
