有没有什么算法可以对 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/