Test enctyption in iOS