如何使用Keychain访问在iPhone App中存储密码? [英] How to use Keychain access to store passwords in iPhone App?

查看:144
本文介绍了如何使用Keychain访问在iPhone App中存储密码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人能告诉我如何在Keychain中存储信息吗?它有多安全?

Can someone tell me how we can store information in Keychain? How secure it would be?

推荐答案


  • 简单的iPhone钥匙串代码

  • 苹果:iPhone钥匙扣备份

  • 在iPhone上使用Keychain API有什么意义吗?

    • Simple iPhone Keychain Code
    • Apple: iPhone Keychain Backups
    • Is There Any Point To Using The Keychain API On iPhone?

    • 你剩下的是一个加密的平面文件数据库,专门针对少数数据类型,具有非常笨重且记录错误的API。如上所述,其功能可能是重复的,使用更好的API,没有太多的努力。加密部分是重要的,因为其主要目的是保证密钥和密码的安全。 DIY密钥数据库可以通过使用对称密钥加密来保护,然后将该密钥放入密钥链中。

      "What you’re left with is an encrypted flat-file database, specialized for just a few data types, with a really clunky and badly documented API. As I wrote above, its functionality could be duplicated, with a better API, without much effort. The encryption part is significant, though, since its primary purpose is to keep keys and passwords safe. A DIY key database could be protected by encrypting it with a symmetric key, and then putting that key in the Keychain."

      这篇关于如何使用Keychain访问在iPhone App中存储密码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆