Basic iOS encryption/decrypiton To run the tests you need: Generate keys(key.pub and key) with ssh-keygen Add generated keys into XCode project navigator like so: Check "EncryptTest" in "add to targets" section. The rest is your choice.