Is there any algorithm to encrypt/decrypt the image in iPhone with password protection?
Is there any algorithm to encrypt/decrypt the image in iPhone with password protection?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There are a lot of algorithms available through OpenSSL, like AES and 3DES. OpenSSL isn’t easy to use but it’s mighty. Also, there are a lot of tutorials out there. For example, here’s a sample on how to en/decrypt with AES in plain C.
And then there’s the CommonCrypto library. See the question AES Encryption for an NSString on the iPhone, the part you’re likely most interested in are methods that extend NSData for encryption and decryption with AES.