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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T21:39:01+00:00 2026-05-21T21:39:01+00:00

I know this isn’t a great title and i’m not expecting anyone to actually

  • 0

I know this isn’t a great title and i’m not expecting anyone to actually know the specifics.

I’m referring specifically to PHP’s md5 function that changes the password to a 32bit string, i think…
Anyway, If I have a password such as ‘typewriter’ will the md5 function always encode it to the exact same string? If so, surely it is very easy to just work out what all the words are encoded to and find someone’s password? If there’s a function to encode a word surely there could be a function to quickly decode it…

What is the safest way to encode a users password, i read about using the salt method to append another string to the users password, but surely if they can decode the password they can decode the salt to?

Thanks For Your Time, i look forwards to your suggestions.

P.S not sure it’s going to be easy to award a winner for this as its a fairly open question.

  • 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-21T21:39:02+00:00Added an answer on May 21, 2026 at 9:39 pm

    Hashing of passwords using one-way-functions that produce a deterministic result from any an string, which is the whole point of hashing: Rather than storing the value you store some derived message and check if the hash of the user input matches the hash stored in the user repository.

    The problem you suggests – that someone creates a dictionary containing all words and their hash values which enables reverse lookup of hashes is certainly a problem which must be addressed and the reason why many login system requires you to choose non-word passwords.

    The other factor of a good hashing function must be that even minor changes in the input (the password) causes major changes in the hash. This way adding a number or chaning casing will produce drastically new outputs and the work of creating a dictionary will be much harder. An example using md5 hashing:

    password: 5f4dcc3b5aa765d61d8327deb882cf99

    passworD: a61f3f0aee2e87cf0571ca70afe289d2

    Put rest assured that a dictionary containing “test” “password” “mommy123” etc already exists.

    Besides md5 is not a very secure hash function, using SHA1 or SHA-256 might be better choices.

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

Sidebar

Related Questions

I know this isn't directly related to programming, but I was wondering if anyone
Yes I know, this title isn't really helpfull but this is the exact problem.
I know this isn't a unique issue but I've not had much luck finding
I know this isn't hard, but I'm not having any luck. I want to
I know this isn't specific to PHP, but what's the point of using timezones
I know this isn't exactly Django templating philosophy, but i'd like to be able
I know this isn't best practice, but can I include all of the dependencies
I know this isn't so complicated but I can't remember how to do. I
I know this isn't right, but for the sake of illustration I'd like to
I know this isn't a programming question but I would really like the users

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.