Re:Thames Water don't get password security
by thehappypm on Friday December 06, 2019 @12:26PM
(#21723965)
That's not necesarily true. They could store a full password hash and a hash of the 4th and 17th character separately.
[ Parent
| on HN ]
Re:Thames Water don't get password security
by pornel on Friday December 06, 2019 @03:09PM
(#21725492)
Hashes can't protect the content if it's feasible to enumerate all possible values of the content.
You can't hide individual letters of alphabet with a hash. Not even with a salt and an expensive hash. It's a hopeless case where a brute-force attack takes only 26 times (or 676 for a pair of letters) longer than a comparison you do during normal operation.
BTW: it's also not possible to use hashes to hide/anonymize phone numbers or IP addresses. The attacker can generate hashes of all possible values and see which one is it.
Re:Thames Water don't get password security
by thehappypm on Monday December 09, 2019 @04:03PM
(#21746542)
Let's say my password is NmsWQlWj1kzS534ojygJ. The 4th and 17th characters are W and j. Even if those two characters are stored in plain text, how exactly does that compromise my password?
Re:Thames Water don't get password security
by brycesbeard on Friday December 06, 2019 @06:40PM
(#21727225)
They could hash the full password and just store the two characters in clear text, no?
Re:Thames Water don't get password security
by tonyedgecombe on Friday December 06, 2019 @02:24PM
(#21725110)
A hash of individual characters would be susceptible to a rainbow attack.
Re:Thames Water don't get password security
by heavenlyblue on Friday December 06, 2019 @02:46PM
(#21725304)
Not if they use salt
Re:Thames Water don't get password security
by nucleardog on Friday December 06, 2019 @07:22PM
(#21727499)
Okay, so now it's a brute which requires, at most, a couple hundred hashes (or less for a typical user's character set). Even for a very expensive algorithm, this is an extremely short operation.