首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏月亮与二进制

    iOS Couldn't update the Keychain Item问题

    一般用Keychain来做账号和密码的存储比较安全,大概如下: KeychainItemWrapper *keychain = [[KeychainItemWrapper alloc] initWithIdentifier KeychainItemWrapper *keychain = [[KeychainItemWrapper alloc] initWithIdentifier:@"MyLogin<span style= 参考stackoverflow的:http://stackoverflow.com/questions/8054285/ios-keychainitemwrapper-not-updating 查看作者首页

    49710发布于 2021-11-23
  • 来自专栏月亮与二进制

    iOS中Keychain保存用户名和密码

    2)、添加KeychainItemWrapper.h/.m文件 除了secutity.framework,我们还要添加一个东西到工程中,就是KeychainItemWrapper.h和KeychainItemWrapper.m 3)、禁用KeychainItemWrapper.h/.m文件的ARC 现在已经流行ARC机制,我们创建工程也是默认的全局使用ARC,但是这两个文件因为年代久远吧,还不是ARC而是MRC,可以在其代码中看到大量 [password isEqualToString:@""]) {// 非空则保存 KeychainItemWrapper *keychain = [[KeychainItemWrapper KeychainItemWrapper *keychain = [[KeychainItemWrapper alloc] initWithIdentifier:@"Login" accessGroup: [nPW isEqualToString:@""]) {// 非空则修改 KeychainItemWrapper *keychain = [[KeychainItemWrapper

    5K31发布于 2021-11-23
  • 来自专栏正则

    获取iOS设备唯一标识的演进UDID, MAC Address,UUID,IDFA,IDFV,OpenUDID

    直接使用SecItem.h里方法操作keychain,需要写的代码较为复杂,我们可以使用已经封装好了的工具类KeychainItemWrapper来对keychain进行操作。 KeychainItemWrapper是apple官方例子“GenericKeychain”里一个访问keychain常用操作的封装类,在官网上下载了GenericKeychain项目后,只需要把“KeychainItemWrapper.h ”和“KeychainItemWrapper.m”拷贝到我们项目,并导入Security.framework 。 KeychainItemWrapper的用法: /** 初始化一个保存用户帐号的KeychainItemWrapper */ KeychainItemWrapper *wrapper = [[KeychainItemWrapper

    7.3K50发布于 2021-11-04
  • 来自专栏EAWorld

    点进来你就懂的iOS数据存储

    这里推荐一个很好用的apple自己封装的类KeychainItemWrapper ARC版本。 用法非常简单类似NSUserdefaults KeychainItemWrapper *wrapper = [[KeychainItemWrapper alloc] initWithIdentifier = [wrapper objectForKey:(id)kSecValueData]; //清空设置 [wrapper resetKeychainItem]; (左右滑动查看全部代码) KeychainItemWrapper 下载地址: (https://github.com/baptistefetet/KeychainItemWrapper) 另外推荐一个轻量级iOS安全框架SSKeyChain: (https://github.com

    2.5K10发布于 2020-05-13
  • 来自专栏Guangdong Qi

    iOS开发常用之代码安全与密码

    GesturePassword - 一个iOS手势密码功能实现,iPad / iPhone都可以用,没有使用图片,里面可以通过查看自己添加.keychain做的数据持久化,利用苹果官方KeychainItemWrapper

    86320发布于 2018-12-14
  • 来自专栏iOS逆向与安全

    iOS进程间的实时通讯方案: local socket(解决扩展和容器应用的实时通讯问题)

    https://kunnan.blog.csdn.net/article/details/119773640 iOS 创建 Universal Links 2:Keychain 借助系统类 KeychainItemWrapper

    2.4K30发布于 2021-08-25
  • 来自专栏iOS逆向与安全

    进程间的实时通讯方案: local socket(解决扩展和容器应用的实时通讯问题)

    2:Keychain 借助系统类 KeychainItemWrapper来使用。常见于免登陆 (同公司产品间) 3:UIPasteboard 粘贴板。淘宝的链接分享。

    2.5K51发布于 2021-01-18
  • 来自专栏谦谦君子修罗刀

    程序员面试闪充--iOS密码学

    直接使用SecItem.h里方法操作keychain,需要写的代码较为复杂,可以使用一些已经封装好了的工具类KeychainItemWrapper和 SFHFKeychainUtils。

    1.8K110发布于 2018-05-02
领券