iphone - iPhone中图像的加密和解密算法?

标签 iphone objective-c cocoa-touch

有没有什么算法可以对 iPhone 中的图像进行加密/解密并提供密码保护?

最佳答案

OpenSSL 有很多可用的算法,例如 AES 和 3DES。 OpenSSL 并不容易使用,但它很强大。此外,还有很多教程。例如,here's a sample on how to en/decrypt with AES简单的 C 语言。

然后是 CommonCrypto 库。请参阅问题 AES Encryption for an NSString on the iPhone ,您可能最感兴趣的部分是 methods that extend NSData for encryption and decryption with AES .

关于iphone - iPhone中图像的加密和解密算法?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6016318/

相关文章:

objective-c - NSOutlineView 和 NSTreeController 示例

iphone - 基于 plist 创建我自己的文件扩展名

ios - 如何使用 Objective-C 填写 HTML 表单

ios - 如何在 iOS 上通过 UITouch 查找最近的站点

ios - 自定义 tableviewcell 中 UILabels 的动态数量

xcode - 在 C# 中开发类似 iTunes 的应用程序

ios - 如何使用 Swift 在 iOS 中以编程方式进行搜索

iphone - iOS 动态调整 UILabel 样式大小

iphone - Objective-C 中的 NS_BLOCK_ASSERTIONS

iphone - 从另一个具有 objective-c 的函数更改我的函数的参数值