Ans : I have used trippleDES for passing data in request to server.
NSData *jsonData = [NSJSONSerialization dataWithJSONObject:dicPostDict options:kNilOptions error:&error];
NSString *strJsonData=[[NSString alloc] initWithData:jsonData encoding:NSUTF8StringEncoding];
NSData *encryptedJsonString = [CommonMethods tripleDesEncryptString:strJsonData key:@"2-055PL&okjnnhkey@inihgr" error:nil];
NSString *strencryptedJsonString = [encryptedJsonString base64Encoding];
NSData *jsonData = [NSJSONSerialization dataWithJSONObject:dicPostDict options:kNilOptions error:&error];
NSString *strJsonData=[[NSString alloc] initWithData:jsonData encoding:NSUTF8StringEncoding];
NSData *encryptedJsonString = [CommonMethods tripleDesEncryptString:strJsonData key:@"2-055PL&okjnnhkey@inihgr" error:nil];
NSString *strencryptedJsonString = [encryptedJsonString base64Encoding];