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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T17:52:16+00:00 2026-06-04T17:52:16+00:00

So far I have been using md5 to hash passwords on my site, no

  • 0

So far I have been using md5 to hash passwords on my site, no salt.

Now I am building an application that will have to be more secure and I’m reading md5 can be easily brute-force attacked.

So I want to use crypt() to hash the passwords.

What I have not fully understood is:

  1. Do I have to provide a salt or is the built-in generated one ok?
  2. How many times (if more than one) should I iterate the crypt function to be safe?
  3. With md5, no matter the length of the input string, the hash was 32-digit. Does crypt return a standard length of hashes too?
  • 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-04T17:52:19+00:00Added an answer on June 4, 2026 at 5:52 pm

    You need to provide a salt, if you want to specify encryption other than DES. Otherwise, you’re good with the default salt.

    You don’t iterate the crypt function yourself, this is done internally with algorithms where it makes sense. Number of iterations is specified via the salt.

    Yes, the hash length of a given hash algorithm is standard; different hash algorithms have different hash lengths, however.

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

Sidebar

Related Questions

For my application I am using a couple listview. So far have been using
So far i have been using Bootstrap.php to load my application.ini config into Zend_Registry
I'm working on a multi-tenant ASP.NET MVC application. So far we have been using
I have been using this so far system 'strings binary-file.dmp | grep search_string' Is
Im using JSoup with android and so far I have been successful. In my
I'm trying to intercept events using Gdk.Window.AddFilter(Gdk.FilterFunc) in Mono. So far, I have been
So far I have been using the WebSite Administration Tool built in Visual Studio
So far I have been using Twisted to simultaneously serve a lot of mobile
I am very new to PHP, so far I have been using the following
All of my C++ programs so far have been using the command line interface

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.