"Creating Password"
submitted by rajkhatsuriya
https://reddit.com/r/ProgrammerHumor/comments/vg94g9/creating_password/
@DeveloperMemes If I understand it correctly, the last statement is actually an indication, that the passwords are not safe at this service, since they are stored in plain text instead of hashes. You shouldn't register here at all. Am I correct?
@marmarper @DeveloperMemes the passwords could still be hashed in this situation, but if so they couldn't be salted -- which, these days, is almost as stupid as not hashing the passwords in the first place.
@marmarper @DeveloperMemes you can figure out duplicate passwords even when using salted Argon2.
For every row in the database calculate the hashed password given the user-specific salt. If there's a duplicate you can find it even without storing anything insecure.
It also does not require any brute force.
It's pretty stupid b/c these hash algorithms are purposefully intense in calculations
@DeveloperMemes Now I am thinking about it, these imposed password policies are just facilitating password brute force. if we think about it. We may make the cardinality bigger, but then substract a whole big chuck of possibilities.
@DeveloperMemes that's why complexy constraints are bad
source: https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-63b.pdf
@DeveloperMemes https://password.net.eu.org/
#password