Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1038419
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T14:58:23+00:00 2026-05-16T14:58:23+00:00

I have an application for Android which communicates with a Google App Engine (GAE)

  • 0

I have an application for Android which communicates with a Google App Engine (GAE) back-end. For authentication I have a user name and password, however I don’t wanna store the plain text password on the client and transfer it in plain text on an insecure channel. So I was thinking of hashing the password when the users enters it the first time (registration or login) and store it hashed on the phone as well as on the GAE database. However, I’m not sure which cryptographic hash function to use, currently thinking about sha1(), and if I need to do something else or just a sha1(plainTextPassword).

Any recommendations?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T14:58:24+00:00Added an answer on May 16, 2026 at 2:58 pm

    If you mean that you’ll send the hash of the password from the client to the server, and compare it to a hash of the password stored at the server, this isn’t secure.

    Anyone who intercepts the hash can use it to login to your application. For your application, the hash is effectively a password. Password authentication requires a private channel to an authenticated partner, e.g. SSH or TLS.

    One might argue that at least helps protect other accounts of the user that might share the same password, but one round of SHA-1 with no salt leaves a password very susceptible to rainbow tables and dictionary attacks. Use a key derivation function from PKCS #5 to properly obscure a password; 8 random bytes of salt and a couple thousand iterations are good parameters for PBKDF1.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have Android application which is Sales Rep application.When he using the app first
I have a android application which needs username and password to login. I need
I have an android application which (over the network) communicates with a desktop server
I have an android application in which if user changes his/her system font through
I have android application in which for a logged facebook user to retrieve in
I have an Android application which needs username and password to login. I need
I have a Android application which provides in-app billing and we have our application
I have a Android Application which is basically uses WebView for all interaction.. How
i'm building an android application which have a chat. in this chat i each
I am writing a little application in android which would have a server part

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.