News for hackers. Stuff that matters.
Re:Bear Does Analytics with CSS by michaelmior on Wednesday November 01, 2023 @11:06AM (#38099202)
> Salting a standard cryptographic hash (like SHA2) doesn't do anything meaningful to slow a brute force attack.

Sure, but it does at least prevent the use of rainbow tables. Arguably not relevant in this scenario, but it doesn't mean that salting does nothing. Rainbow tables can speed up attacks by many orders of magnitude. Salting may not prevent each individual password from being brute forced, but for most attackers, it probably will prevent your entire database from being compromised due to the amount of computation required.

Re:Bear Does Analytics with CSS by tptacek on Wednesday November 01, 2023 @01:43PM (#38101926)
Rainbow tables don't matter. If you're discussing the strength of your scheme with or without rainbow tables, you have already lost.

https://news.ycombinator.com/item?id=38098188

Re:Bear Does Analytics with CSS by robertlagrant on Wednesday November 01, 2023 @06:32PM (#38106292)
That's just a link where you claim the same thing. What's your actual rationale? Do you think salting is pointless?
Re:Bear Does Analytics with CSS by tptacek on Thursday November 02, 2023 @09:30PM (#38123185)
I think it's meaningless. Every password KDF is randomized. But randomization isn't what makes them difficult to brute-force; non-password-KDF "salted" hashes are extremely easy to brute force, which is the whole reason we have password KDFs.

"Salted hashes" are one of the more treacherous security cargo cults, because they create the impression that the big problem you have to solve hashing a password is somehow mixing in a salt. No: just doing that by itself doesn't accomplish anything meaningful at all.

Re:Bear Does Analytics with CSS by robertlagrant on Friday November 03, 2023 @05:39AM (#38126397)
Understood, but I think this is just people using "hash" and "KDF" interchangeably. Agree that a KDF is the way to go, but salting it is also a good idea to explode the search space.
Re:Bear Does Analytics with CSS by michaelmior on Thursday November 02, 2023 @01:04PM (#38116644)
I don't follow your point. Yes, you can brute force. But if I have 50,000 unsalted password hashes, I can crack those using rainbow tables much faster than brute forcing all 50,000. For a single password hash, I agree it probably doesn't really matter.
Re:Bear Does Analytics with CSS by juliusdavies on Thursday November 02, 2023 @05:05PM (#38120127)
I don't understand why anyone would ever have 50,000 or even 1 unsalted password hash.