iphone应用程序中的密码加密 [英] password encryption in iphone apps

查看:119
本文介绍了iphone应用程序中的密码加密的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要将用户密码存储在我的i​​Phone应用程序中。

I need to store the user's password in my iphone app.

将应用发布到应用商店时,我必须告知苹果是否有应用程序的加密用于出口目的。

When posting an app to the app store, I have to tell Apple if there's encryption in the app for export purposes.

我不希望我的应用程序仅限于美国,但我也不想以明文形式在网上存储或发送密码。

I don't want my app to be restricted to US only, but I also don't want to store or send passwords over the net in clear text.

所以基本的问题是,我可以加密密码,不能让我的应用受到限制吗?

So basically the question is, can I encrypt passwords in a way that will not get my app restricted?

推荐答案

看起来像提供的crypt()函数可以用于密码:

Looks like the supplied crypt() function can be used for passwords:


这个库(FreeSec 1.0)是在美国以外开发的未经补充的USIly libcrypt加密库替代。与crypt()接口相关联的程序只有在使用crypt()仅用于认证身份验证时才能从美国出口,并避免使用上述其他编程接口。图书馆特别小心,只有使用crypt()接口的程序才能拉入其他组件。

This library (FreeSec 1.0) was developed outside the United States of America as an unencumbered replacement for the U.S.only libcrypt encryption library. Programs linked against the crypt() interface may be exported from the U.S.A. only if they use crypt() solely for authentica-tion authentication purposes and avoid use of the other programmer interfaces listed above. Special care has been taken in the library so that programs which only use the crypt() interface do not pull in the other components.

(从iphone文档的crypt(3))

(from the iphone documentation for crypt(3))

这篇关于iphone应用程序中的密码加密的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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