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 6030617
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T05:03:45+00:00 2026-05-23T05:03:45+00:00

A user enters their password, and submits the login form. The password is sent

  • 0

A user enters their password, and submits the login form. The password is sent to the server, authentication is run, and the hashed password matches the one stored in the database.

This is where what I am wondering comes into play. What I want to know is if this scenario would be useful:

The user’s password is then re-hashed with a new random salt, and the original hash stored in the database is overwritten. Next time the user logs in, they still enter the exact same password, but a different hash is being checked.

Please let me know if this would be a more secure approach to password hashing.

EDIT


I wrote this question very poorly…. I have been researching methods to make non-SSL login scripts more secure, and came upon an idea to use javascript to hash the password before it was sent via post data. This struck me as a semi-decent idea, except it would be pointless if the hacker intercepted the hashed post data, because he could just sent fake post data from then on using the hash. I got to thinking about re-hashing the pass with a new salt every time, so the hacker would have to continuously re-sniff the connection every time he wanted access to that user’s account.

This way, without a key-logger or some sort of client-side software on the victim’s computer, a hacker wouldn’t be able to get access to the client’s password, and thus would only be able to access one session at a time, as soon as the user logged in, the hash would change the the hacker would have had to been listening when the user logged in again to get the new hash.

  • 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-23T05:03:45+00:00Added an answer on May 23, 2026 at 5:03 am

    The only difference I can see here is that the salted hashes in the database would change regularly.

    So, each attacker who somehow manages to read the database would have another set of hashes to bruteforce. But, when one of the hashes is broken (e.g. you found a password which together with the salt gives the given hash), it most probably is the original password, and it will continue to work even if the salt and hash in the database changes later.

    So, no change in security here.

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

Sidebar

Related Questions

I'm creating a 'forgot password' page where the user enters their email address and
when the user enters their details they click on login but its not working,
I have a jsp page where the user enters their email address and password.
I have a form where the user enters their database information and can click
I have a cell in which the user enters their name, a serial number
I am creating an app in C# where the user enters their name and
When a user enters a search query, I'd like to track: 1) Their search
in my application i have an form where user enter their username first .
I want to have two input with one button for user to enter their
I have a very small form where a user can enter their zip code

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.