PDA

View Full Version : AES256 Decryption




mpramodjain
May 19, 2011, 10:52 AM
Hi Community,

I have been using the encryption/decryption as detailed here (http://iphonedevelopment.blogspot.com/2009/02/strong-encryption-for-cocoa-cocoa-touch.html). Following is the scenario :

Retrieved the encrypted data from the server, with utf-8 encoded, xml content.

I am able to decrypt the data to NSData format using the decryption method(AES256 Decryption (http://iphonedevelopment.blogspot.com/2009/02/strong-encryption-for-cocoa-cocoa-touch.html)). But unable to convert the NSData hence obtained to NSString , by using NSUTF8/NSASCII encodings.

Please help, if any had faced this issue.

Thanks.