Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Encryption library for Objective-C

Other than OpenPGP, are there any other libraries to encrypt text?

like image 468
apaderno Avatar asked Jun 28 '10 02:06

apaderno


2 Answers

You could use OpenSSL, which is built into both Mac OS X and iOS. You just need to add Security.framework, then you can #include <ssl.h>.

like image 82
Sophie Alpert Avatar answered Oct 02 '22 14:10

Sophie Alpert


For simple encryption using AES, TripleDES, you can just use built-in CommonCrypto library,

http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man3/CCCryptor.3cc.html#//apple_ref/doc/man/3cc/CCCryptor

like image 39
ZZ Coder Avatar answered Oct 02 '22 12:10

ZZ Coder