News for hackers. Stuff that matters.
Re:Show HN: HackerForums.co, a forum for the crowd that hang... by zawerf on Thursday May 17, 2018 @07:20PM (#17097063)
The mathematical part was not obvious to me, so:

The derivative with respect to a is: b(a^(b-1)).

The derivative with respect to b is: log(a)(a^b) or (a log(a))(a^(b-1)).

So it's better to increase b when alog(a) > b. Which is typically the case where a is 26 for lowercased letters and b is like 10 for password length.

This analysis might not be totally correct since the cost of adding one extra allowed character vs increasing password length by one is not the same but w/e.

There are no comments on this comment yet.