Concurrency in Objective-C using Grand Central Dispatch (GCD)

To demonstrate execution of concurrent Objective-C code, I wrote this simple example below. The two functions you have to read about to understand the code are; dispatch_get_global_queue and dispatch_async.

[…]

Encrypt text in iPhone & decrypt it in your Rails server

What I did to perform the task is that i used RNCryptor in my IOS application.

And I engaged this gem to do the decryption in Rails.