News for hackers. Stuff that matters.
Re:Opensubtitles.org breached – Email addresses, IP addresse... by LeifCarrotson on Wednesday January 19, 2022 @08:02AM (#29993043)
Bcrypt truncates to 72 bytes, so it's kind of irrelevant IMO. Whether your average length is 12 or 20 or 64 bytes doesn't matter much.

I expect the parent's concern came from experience with PBKDF2, where the length is unbounded. It's good to consider possible denial of service attacks: if someone submits an enormous 1 MB password a PBKDF2 hasher can be knocked offline for 60s. Sha256 will quickly crunch that attack to a more manageable length.

Re:Opensubtitles.org breached – Email addresses, IP addresse... by stevewodil on Thursday January 20, 2022 @08:35PM (#30018057)
Exactly this, it’s a vector for DOS