首页
\
问答
\
如何以编程方式了解任何文件是否加密? - iPhone(how to know programmatically any file is encrypted or not ?- iPhone)
如何以编程方式了解任何文件是否加密? - iPhone(how to know programmatically any file is encrypted or not ?- iPhone)
我在已创建的应用程序中的文档目录中有一个sqlite文件(它可能是加密的或非加密的),现在在更新版本中我必须检查它是否解密,如果文件被发现加密,那么我们将在解密后使用它但它发现未加密然后我们将简单地使用它。
有什么办法吗?
I have a sqlite file(it may be either encrypted or non-encrypted) in Document Directory in an already created app, now in updated version i have to check it for decryption, if file is found encrypted then we will use it after decryption but it found non-encrypted then we will use it simply.
Is there any way to do it?
原文:https://stackoverflow.com/questions/20017927
更新时间:2024-02-27 13:02