本文介绍了如何在iPhone上存储信用卡信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要求在iPhone应用程序中存储信用卡号码。如何以安全的方式存储数据。我看过钥匙扣。除此之外,还有什么我可以使用的。

I have requirement to store credit card number in iPhone app. How to store the data secure manner. I have looked at keychain. Apart from it, is there anything i can use.

推荐答案

如上所述,你应该首先考察一下这个的合法性,尤其是Apple对应用商店内容的限制。

As mentioned above, you should first look into the legality of this, especially with Apple restrictions on what goes in the app store.

这就是说,我之前不得不加密敏感信息,并决定过度使用AES-256加密。由于用户名,密码和个人数据是通过网络发送的,因此是必要的。我使用了FBEncrypt - 这是CCCrypt的一个很好的包装。

That said, I have had to encrypt sensitive information before, and decided to go overboard with AES-256 encryption. Since usernames, passwords and personal data were being sent over a network, it was necessary. I used FBEncrypt for this - it's a great wrapper around CCCrypt.

这将允许您进行base-64编码和AES-256编码等等,这真的很方便。如果你确实需要,请查看它!

That will allow you to do base-64 encoding and AES-256 encoding, among other things, and it is really convenient. Check it out if you really need it!

这篇关于如何在iPhone上存储信用卡信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-21 15:24