iphone - NSString is NULL -


hiiii freinds please guys me why str null creasy

nsstring *strdata = @"issam  bey"   ;  nsmutabledata *objnsdata = [nsmutabledata datawithdata:[strdata datausingencoding:nsisolatin1stringencoding]];   objnsdata = [objnsdata encryptaes:@"12345678901234561234567890123456"]; //nsstring* decryptedstr = [[nsstring alloc] initwithdata:objnsdata encoding:nsasciistringencoding];  nsstring *str=[[nsstring alloc] initwithdata: objnsdata encoding:nsutf8stringencoding];  nslog(@"%@",str); 

if doing encryption , decryption read encrypting / decrypting / base64 encode / decode in iphone objective-c.

for aes256 encryption-decryption, read adding methods nsdata , nsstring using categories provide aes256 encryption on ios.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -