Vin
Vin

Reputation: 10548

Implementing data encryption in iPhone applications

I need to implement data encryption in my app locally, as well as transfer data over the network, after encrypting it.

Can anyone help me by guiding me to good documentation or resources to acheive this? I have looked upon Apple's cryptoClient application but it's too cryptic(contains Bonjour sharing etc. which I don't need).

Upvotes: 1

Views: 437

Answers (2)

Conceited Code
Conceited Code

Reputation: 4557

Use ZipArchive to encrypt the files (check the documentation, there is a way to zip the data with a password) and since you are gonna transfer the data over the network you should make it as small as possible by zipping it.

This is a great tutorial on using ZipArchive: http://icodeblog.com/2010/04/12/creating-a-document-centric-iphoneipad-application-with-own-file-format-using-ziparchive/

Upvotes: 1

Akash Kava
Akash Kava

Reputation: 39956

You can have a look at SQLCipher to encrypt sqlite database, which can store your data locally and to transfer over internet you can simply use HTTPS.

Upvotes: 1

Related Questions