@sdcode Why? What problem are you trying to solve here?
There’s absolutely no point encrypting a payload before sending it to your server because if you’re using SSL (and you should be), then the payload already will be encrypted when transmitted. And if you’re encrypting before sending, then the encryption algorithm (as well as any keys) is going to be visible client-side, so someone using your app could decrypt the payload any way (not that it matters since it’s probably data they’ve entered and submitted making up the payload).
So again: what’s the actual problem you’re trying to solve here?