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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T08:49:04+00:00 2026-05-15T08:49:04+00:00

I am by no means a security expert or even a novice. I’m a

  • 0

I am by no means a security expert or even a novice. I’m a newbie at security at best.

Someone suggested I use SHA1 instead of MD5 – why would I choose one over the other? Is one more secure?

  • 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-15T08:49:05+00:00Added an answer on May 15, 2026 at 8:49 am

    I would use SHA2(256) at the minimum – however:

    There is little or no point in simply hashing a password in a database due to rainbow table attacks. Equally, salted hashing is better, but if someone has access to your database, then the chances are that they have access to your code in which case they can probably disassemble a fixed salt. Equally, if you use a random salt, then you’re storing it inside the row anyway, so while it slows people down they can still attack it with a rainbow table.

    A better solution is to use Password Stretching which uses a random salt as well as a random (high) number of iterations so that attempting a brute-force attack against each password takes significantly longer and therefore makes it physically harder to crack all the passwords.

    I believe in .Net this can be achieved using PBKDF – but I’ve mislaid a link to it (somebody supplied it to me an answer to a question I asked a while ago). EDIT-Found the link for .Net: Rfc2898DeriveBytes Class.

    On MD5

    Whilst MD5 has indeed been shown to be ‘broken’ as mentioned by the other answers, the main reason why I wouldn’t use it – and why I’ve read that it’s inadvisable to use it – is because it’s actually very fast, thereby increasing the possibility of a crack within a given period of time.

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

Sidebar

Related Questions

I would like to know whether Spring / Spring Security provide a means to
Background: I am by no means a windows security / user permissions expert. I
can someone explain to me what it means? LOG=/etc/security/aixpert/log/aixpert.log exec 1>>$LOG exec 2>&1 I
I'm not a security expert by any means, but I favor creating REST-style web
Seeking means to get Fabric to automatically (instead of user-interactively) interact with shell commands
Lead in ... I'm not an expert, by far, in application security via SSL,
I have recently watched this video of a Finnish internet security expert. Somewhere around
How to implement authentication security in WCF? Means if any user is registered, than
I'm researching a security model for our web portal, we have decided to use
I use spring-security to secure my web, when I'm learning it by spring-roo generated

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.