ndman
ndman

Reputation: 153

Core Data Encryption Class

I'm trying to use this wonderful git inside my xcode project:

https://github.com/project-imas/encrypted-core-data

It's fully functional when creating a new empty sqlite db.

But, how can I use an existing populated regular database? I need to encrypt my sqlite file and use with the class provided from the git.

Thanks to all!

Upvotes: 2

Views: 1211

Answers (1)

Nick Parker
Nick Parker

Reputation: 1388

You need to use the SQLCipher convenience function sqlcipher_export. In particular, look at example number 1 for a plaintext migration.

Upvotes: 2

Related Questions