NSKeyedArchiver 和 Apple 上传
NSKeyedArchiver
对我提供的信息有何作用?是否序列化?、加密?、两者皆有?、其他? 我对加密的构成和加密的知识我之前没有介绍过加密信息的实际过程。如果算作加密,当我将应用程序上传到 iTunes Connect 时,系统会询问我的应用程序是否包含任何加密,我假设这里的正确答案是是。我的假设正确吗?我过去避免使用此类,以免我的应用程序被拒绝。
我只想序列化我存储在 NSUserDefaults 中的信息,以通过更改值来帮助打击用户的“作弊”(对于那些不知道如何操作的人,无论是否越狱,都可以完成)。我意识到我使用 NSKeyedArchiver 存储的信息并不能防黑客,但我觉得使其乍一看不可读会有所帮助。
What does
NSKeyedArchiver
do to the information I give it? Is it serialized?, encrypted?, both?, other? My knowledge both of what constitutes encryption and the actual process of encrypting information is not something I've covered before.If it is counted as encryption, when uploading an application to iTunes Connect, I am asked whether or not my application contains any encryption, I assume the correct answer here would be yes. Do I assume correctly? I've avoided using this class in the past lest my app is rejected.
I'm only looking to serialize the information I store in NSUserDefaults to help combat users' 'cheating' by changing the values, (for those of you that don't know how, it can be done, both with and without jailbreaking). I realise the information I store using NSKeyedArchiver
isn't hack-proof, but I feel making it unreadable at first glance would help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
NSKeyedArchiver
是序列化。另外,IIRC 如果您只使用操作系统附带的内容,则 iTC 上的加密问题不适用。 (也就是说,如果您捆绑了第三方加密库,您只需要回答“是”。不过,如果我在这一点上错了,请有人纠正我。)
NSKeyedArchiver
is serialization.Also, IIRC the encryption question on iTC doesn't apply if you're only using stuff that comes with the OS. (I.e., you only need to answer "yes" if you're bundling a third-party encryption library. Someone correct me if I'm wrong on this, though.)