views:

445

answers:

1

Hi all, I am new to Encryption/ Decryption. I want to encrypt a NSString variable value using key. Also I want to decrypt the encrypted data . I want to apply AES -128 Algorithm.

Please suggest sample code or useful link.

+1  A: 

I found this through a Google search on the terms aes nsstring site:stackoverflow.com:

AES Encryption for an NSString on the iPhone

Alex Reynolds
but it is for AES256
Rupesh
It's probably not too much different. Instead of the answer being handed to you without you doing any work, you could use it as a basis to learn about AES and about the other functions you would use.
Alex Reynolds