3 ms·
A 25% speed boost is what I would call a significant percentage. Especially at 60 characters. My statement holds up.
by kakarot 8y ago
A 25% speed boost is what I would call a significant percentage. Especially at 60 characters. My statement holds up.
- Dylan16807 8y agoWhat you're missing is that a 59 character password (with secret length) is extremely secure, despite the even larger speed boost. If you worry about any speedup in password cracking that is less than an order of magnitude, your password was too close to failing to start with. Make your password 5% longer, which will make it at least 20x slower to crack, and then you won't have to care if "20x" gets reduced to "15x". You may say "It's not harmless to give up 25%. What if I give up 25% several times? That could make even a good password become insecure." but there's a limit to how much speedup someone can get from knowing the structure of your password. And the best way to evaluate the strength of a password is to assume that all the structure is public. So I can say that my typical passwords, being 20 mixed-case letters and numbers, all have a security of 2^119. It's possible that an attacker that uses the wrong algorithm would have to guess even more, but I'm not just worried about a clumsy attacker, I'm also worried about a moderately-high-quality attacker. It's a bad idea to depend on that extra .1 bit I could get with this character set, or that extra .4 bits I could get with a smaller character set. Just assume the length is known.
- kakarot 8y agoI'm confused about how that has anything to do with disproving my conjecture that whether whether providing your length is a tangible security leak or not is essentially a function of the size of your character pool, because if your password is short enough for n-1 to contain a significant percentage of possible combinations then it's probably already short enough to brute force anyway. You're just redefining what "secure" means.
- Dylan16807 8y agoI think we disagree about what a "tangible leak" is. I don't see it as tangible because it's eating into a tiny margin that you never should have counted in the first place. You do see it as tangible because it might make the attacker's job faster by several percent. And that's fine, we can have different opinions on that part. But "probably already short enough to brute force" is definitely not right. That percentage depends entirely on character set, not the length of your password. If your password is just numbers, then n-1 always has 10% as many combinations, whether your password is 5 characters long or 200. If you meant "probably already weak enough to brute force" that's not true either. Lots of passwords with mixed case and numbers and symbols are very short and pretty weak. Lots of passwords with only letters are very long and quite strong because they're made-up phrases. You can't guess the strength of a password just by knowing the percentage of [length n-1 combos] / [length n combos].
- kakarot 8y agoBut 10% of 100 is magnitudes different from 10% of 10,000. The smaller the length, the more each percent (in terms of entropy) matters when we're talking about complexity as a function of brute force time.
- Dylan16807 8y agoAnd by that metric losing 2% of 1000 is a far bigger problem than losing 10% of 100,000. I agree that length is the most important factor, I'm just saying that character pool isn't very important to final security.
- kakarot 8y agoOnly if you have a sufficient length of n.
- Dylan16807 8y agoYou need "sufficient" n no matter what your character pool is, and knowing the character pool of a password doesn't let you reliably predict if n is sufficient.
- kakarot 8y agoI wasn't making that claim.
- Dylan16807 8y agoThen I have absolutely no idea what you were trying to claim in the second sentence of https://news.ycombinator.com/item?id=19304761 https://news.ycombinator.com/item?id=19304761 But we don't seem to be resolving anything so I'll just hope you have a good week.
- kakarot 8y ago