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

  • Home
  • SEARCH
  • 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 8447321
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T10:09:17+00:00 2026-06-10T10:09:17+00:00

I remember reading about a scheme where the process of checking a password went

  • 0

I remember reading about a scheme where the process of checking a password went like this:

  1. given (hash, salt) in a database,
  2. hash password with salt to check against the hash,
  3. hash password with old hash as salt,
  4. store (new hash, salt a.k.a. old hash) in the database.

I can’t find the original source. In any case, I don’t understand

  1. what the advantage is of using the old hash as the salt (as opposed to using a random salt),

  2. what the advantage of this scheme is in general (further complicating rainbow table attacks?), and

  3. if there is an advantage, how one would apply the scheme using PHPass, since the salt seems to be managed “within” PHPass…

Intuitively, I think this scheme would do nothing at best, or worsen security at worst (due to a dependency on a past value), but password security is one area where I don’t trust my intuition. Please enlighten me.

EDIT:

I’m asking about re-hashing the password on each check. These similar questions do answer the first question—that using a hash as a salt is useless—but not whether it’s useful to re-hash on each check:

  • Using a hash of data as a salt
  • Using a hash of what you are hashing as a salt?
  • 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-06-10T10:09:18+00:00Added an answer on June 10, 2026 at 10:09 am

    I am no security expert, but to answer #1 there is no advantage. All it does is complicate things further.

    Just use a good randomly generated salt,
    Like you said, PHPPass handles it internally, and PHPass is considered an extremely good tool as it has been reviewed by many security experts.

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

Sidebar

Related Questions

I vaguely remember reading about this a couple of years ago, but I can't
Ok. Googling fail probably and I remember reading about this a while back but
I encountered this syntax in someone else's Scala code, and don't remember reading about
I remember reading something about it a few years back but I don't remember
I remember reading a blog post about a group that had taken a branch
I remember a while back reading about editing the proxy pac file which would
I remember reading an article saying something like The number of bugs introduced doesn't
I remember reading about the double pipe operators -- ||> and <|| -- somewhere
I seem to remember reading about a function that could be used to make
I remember reading an article about a shorthand version, or extension, of HTML a

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.