iOS 开发实用技术导航
NSHipster 中文版
http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
http://www.cocos2d-iphone.org/
CocoaPods
http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
http://code.google.com/mobile/analytics/
WWDC
https://developer.apple.com/wwdc/
Design Guides and Resources
https://developer.apple.com/design/
Transcripts of WWDC sessions
http://asciiwwdc.com
Cocoa with Love
http://cocoawithlove.com/
Cocoa Dev Central
http://cocoadevcentral.com/
NSHipster
http://nshipster.com/
Style Guides
Google Objective-C Style Guide
NYTimes Objective-C Style Guide
Useful Tools and Services
Charles Web Debugging Proxy
Smore
remaerd
V2EX  ›  iDev

分享我用于加密数据的开源框架 - Safe

  •  1
     
  •   remaerd ·
    remaerd · May 18, 2015 · 3896 views
    This topic created in 4040 days ago, the information mentioned may be changed or developed.
    项目需求,所以参考 1Password 的设计开发了这个用于加密数据的 Swift 开源框架。因为对加密学的东西涉足甚浅,希望能够得到大师的指导。

    https://github.com/remaerd/Safe

    谢谢。
    5 replies    2015-05-20 10:30:12 +08:00
    walleve
        1
    walleve  
       May 18, 2015
    你的分享就是我们回贴的最大动力
    fangjinmin
        2
    fangjinmin  
       May 18, 2015
    加密最重要的是加密算法,你用的是只是AES128bit, 不是特别安全了,换成256bit吧,或者作成接口,可以让用户选择。
    remaerd
        3
    remaerd  
    OP
       May 18, 2015 via iPad
    @fangjinmin 感谢指出,我的确看漏了 1Password 那篇文章里关于 Encryption Keys 的加密算法选择。另外我其实对文章中提到的 Derived MAC key 的使用有疑问,我对如何保护 Master Key 防篡改上面无法通过文章获得答案。不知道您可不可以再多看看?

    感谢
    fangjinmin
        4
    fangjinmin  
       May 19, 2015
    @remaerd 我没有看过你说的1Password的文章,没法给你更多的建议。
    kepenj
        5
    kepenj  
       May 20, 2015
    你的分享就是我们回贴的最大动力 +1
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3752 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 10:34 · PVG 18:34 · LAX 03:34 · JFK 06:34
    ♥ Do have faith in what you're doing.