0

In my application, the user will be constantly uploading information on the website. For this I also need to pass the userId and password to the website for authentication.

What is the best way to encrypt this data and pass to the website? The website is using php.

I am looking for the best way to transfer encrypted data from android mobile to the website.

Rgds, Sapan

Sapan
  • 1,593
  • 3
  • 24
  • 34

1 Answers1

0

The best solution would be to have an SSL certificate on the web server. Because you'll also be in control of the client, you'd be able to self-sign without impacting end-user experience.

There are some questions on how to handshake and accept the certificate here and here.

Community
  • 1
  • 1
Estel
  • 2,154
  • 2
  • 18
  • 25