Prashant
Prashant

Reputation: 1469

What is best algorithm for password encryption and decryption for android and web application in google app engine?

We have developed an application using google app engine. We have an android and web application which communicates to same database. We have log in functionality.For which we need to encrypt and decrypt the password. We tried few earlier but it's not in sync.It means if we apply it both side then login fails at android side and vice versa. Can you please suggest us which algorithm will be useful for both side so android and web both will work on same algorithm.

Thanks,

Prashant

Upvotes: 1

Views: 889

Answers (1)

Niklas Rosencrantz
Niklas Rosencrantz

Reputation: 26652

I recommend either bcrypt or PBKDF2. Both are algorithms especially designed for hashing passwords.

Upvotes: 1

Related Questions