在iOS中使用Core Data进行数据加密 [英] Data encryption with Core Data in iOS
问题描述
我只需要确认这一点。
这是正确的说,使用iPhone 3GS及以上,任何写入文件系统的数据加密使用硬件加密?通过在文件系统上创建XXX.sqlite文件,存储在其中的数据已经加密。
也为了进一步的安全 NSFileProtectionComplete
是否提供?
感谢。
$ p> [_ persistentStoreCoordinator addPersistentStoreWithType:NSSQLiteStoreType configuration:nil URL:storeURL options:@ {NSPersistentStoreFileProtectionKey:NSFileProtectionComplete}错误:&错误]
I just need a confirmation on this.
Is it correct to say that, with the iPhone 3GS and above, any data written to the filesystem is encrypted using hardware encryption? By simply creating the XXX.sqlite file on the file system, the data stored in it is already encrypted.
Also for further security NSFileProtectionComplete
is provided?
Thanks.
[_persistentStoreCoordinator addPersistentStoreWithType:NSSQLiteStoreType configuration:nil URL:storeURL options:@{ NSPersistentStoreFileProtectionKey : NSFileProtectionComplete } error:&error]
这篇关于在iOS中使用Core Data进行数据加密的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!