mercredi 4 mai 2016

How big is the performance hit when using NSFileProtection with Core Data?

I am currently comparing multiple data persistence frameworks for iOS. One important requirement we got is the possibility to encrypt the data we are working one. When using Realm there is the option to use encryption with the consequence of a 10% Performance hit as you can read here

When using Core Data there are basically 3 Ways to encrypt your Data

  • Using iOS-Level Data Protection
  • SQLCipher
  • Transformable decryption

I would prefer to encrypting the Data on iOS Data Protection Level using the NSFileProtectionComplete Option on the File Manager. My Question is :

How big is the performance Impact when using iOS-Level encryption? Are there any Statistics out there or do you have experienced a major decrease in performance? It would be really interesting to here about your experiences.

Thanks in Advance!

Aucun commentaire:

Enregistrer un commentaire