一个是采用SQLCipher
Need to store sensitive information in your app? SQLCipher extends SQLite enabling transparent encryption and decryption of data using AES. Its source is available on Github.
SQLite is pluggable. Developers can create extensions and chain them into SQLite’s engine. Using this mechanism, SQLCipher embeds itself low enough in the stack to be transparent. As a developer, you simply issue queries as you normally would and all of the crypto is handled transparently.
SQLCipher’s author, Stephen Lombardo of Zetetic , has also released Cryptographically Secure File I/O a library that supports random access file IO on encrypted files.
另外一个
Strong Encryption for Cocoa / Cocoa Touch
There are several public-domain implementations of AES. I chose a public domain implementation