title: Encrypting Credit Card info on iOS app and send to server
body: <p>First of all, can an iOS app collect Credit Card info and send it to the server? Will such an app be rejected by Apple? </p>
  
  <p>Further questions are :-</p>
  
  <p>I am developing an iOS app which takes Credit Card related info and sends it to the server. The server then processes the payment request via payment gateway.</p>
  
  <p>I need to know the best/good way to encrypt this info on my iOS app before sending it to the server.
  The server runs PHP with MongoDB and the server side guys are planning to use an RSA-2048 encryption. </p>
  
  <p>Please guide me in this matter ASAP.</p>