AES128编码在iOS4 + [英] AES128 encoding in iOS4+

查看:96
本文介绍了AES128编码在iOS4 +的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚在iOS中进行加密,而且我坚持AES128加密。有没有一些预建的库(可能是OpenSSL),我可以轻松使用?



如果是,如何实现它并使用它?有教程吗



我发现了几个简单教程如何构建OpenSSL并将其导入Xcode,但没有一个为我工作。此外,它需要与iOS4兼容,所以通过CommonCrypto解决方案似乎不是一个解决方案(因为几个基本方法只有iOS 5+兼容)。



感谢任何帮助,我正在拉扯我的头发:)

解决方案

如果任何人仍然对此感兴趣问题我在 http:// dotmac上找到一个解决方案。 rationalmind.net/2009/02/aes-interoperability-between-net-and-iphone/ 。在此页面上,您可以下载与iOS4兼容的非常简单的obj-c类,不需要任何第三方库。


I'm new to encrypting in iOS and i'm stuck with AES128 encryption. Is there some pre-built library (perhaps OpenSSL) which i can use easily?

If so, how do I implement it and use it? Are there tutorials?

I've found several "easy" tutorials how to build OpenSSL and import it to Xcode, but none of them worked for me. Also, it needs to be compatible with iOS4, so solution via CommonCrypto doesn't seem to be a solution (since several essential methods are only iOS 5+ compatible).

Thanks for any kind of help, i'm pulling my hair out over this :)

解决方案

If anyone is still interested in this question i found a solution on http://dotmac.rationalmind.net/2009/02/aes-interoperability-between-net-and-iphone/ . On this page you can download very simple obj-c classes which are compatible with iOS4 and doesn't need any 3rd party libraries.

这篇关于AES128编码在iOS4 +的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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