Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Passwords, Salts, Hashes etc

Featured Replies

After reading various blogs and threads talking about the recent LinkedIn hack I was left wondering about my own hashes.

 

I have used various methods to hash my passwords including hashing the password with salts multiple times such as password.salt.password.salt.salt and then hashing it multiple times after that using all the SHA's etc to try and make it harder to crack. Some people are saying that hashing a password multiple times makes it less secure but I can't imagine that.

 

Instead of then saving the hash and salt hash in the database separately, I made a script to slice them up and merge them together in the database so that even if they are leaked, a the correct script would still be needed to split the salt from the hash, I was wondering if this was a good idea or not?

Er, it will work and is much more secure than your example.

 

 

 

 

Its based on pretty much the same, talking about security, almost everything can be decrypted. :fool:

 

 

 

Its based on pretty much the same, talking about security, almost everything can be decrypted. :fool:

 

Firstly, the first argument of hash() should be the algorithm.

 

Secondly, phpass uses bcrypt. Bcrypt uses built-in salts to guard against rainbow table attacks, and incorporates a work factor which can be made sufficiently strenuous to defeat brute-forcing by anything. Yes, it CAN be decrypted, but if decrypting a single hash would take years with a massively parallel CUDA cracker, that's secure enough.

I must agree with the other replies made, although i personally have not used phpass myself ive heard some good things about it, and from what ive read its supierior to normal sha1 or md5 password hashing with or without a salt.

  • Author

Is it better though because it's 'easier' to set up and use, or because simply it is more secure?

 

Surely if it can be decrypted (in any way shape or form), it can't be more secure than using salts, keys and SHA-512?

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.