You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am using this code of AES256 encryption in iphone app.This giving expected output in all device higher than iphone5 simualator(version 10.0). While converting the encrypted NSdata to nsstring using NSUTF8StringEncoding its returning nil nsstring.Unable to understand reason.Can anyone help on this.
Also find the code which i am using for conversion
Hi,
I am using this code of AES256 encryption in iphone app.This giving expected output in all device higher than iphone5 simualator(version 10.0). While converting the encrypted NSdata to nsstring using NSUTF8StringEncoding its returning nil nsstring.Unable to understand reason.Can anyone help on this.
Also find the code which i am using for conversion
NSString *cipherText =@"1xZKEyLmVzKDoA+2+G2xiA==";
NSString *ivRandom = @"54327CD65463ECAB";
NSString *key = @"B98MN8C9A8765BCA";
NSData *nsdataFromBase64String = [[NSData alloc]
initWithBase64EncodedString:cipherText options:0];
The text was updated successfully, but these errors were encountered: