Re:Cracking WordPress passwords with 20 lines of Go
by fmajid on Sunday May 31, 2020 @03:53AM
(#23367985)
It’s 2020 and password-cracking is done on GPUs nowadays. The multiple rounds of PHPass do nothing against the speed of modern GPUs. You need a password hash that also requires a lot of RAM to compute to limit parallelism, like argon2 or scrypt.
> The approach of using multiple iterations to purposefully increase the computational cost of testing a password
The author has shown that a hashing function can be attacked by using a dictionary attack... well, yes, of course. But the library is not inherently weak just because of that. Yes, you can write it in 20 lines of Go but -- you'd need to benchmark the attack against other hashes. Just because the md5() primitive is used as part of the algorithm doesn't make the whole shebang weak.
The question always is how long it takes to find clear text which gets hashed to a certain value.