News for hackers. Stuff that matters.
Re:Ask HN: 5-digit alphanumeric or 12-digit integer simpler ... by ajuc on Wednesday February 08, 2012 @02:46AM (#3565643)
This is for some password authentication?

I never understand why people restric password length. Why not 12-char alphanumeric? Or 32-char alphanumeric? Most people will use 10-char passwords (or shorter), but those concerned with security could use better.

BTW - I'v got idea how to ensure people will use unique secure passwords on your site. It's a little harsh, but still.

For each new user in registration form calculate 4-letters hash (from user number, timestamp, whatever), and require user to include this hash in his password (and that the password is at least X characters long). User that has favorite password "swordfish" will just use "swordfishX13h" probably, but it's still better than "swordfish".

Re:Ask HN: 5-digit alphanumeric or 12-digit integer simpler ... by eliaskg on Wednesday February 08, 2012 @03:15AM (#3565713)
I think the question is not password related as the key may be used as a UID for a "semi restricted" link.
Re:Ask HN: 5-digit alphanumeric or 12-digit integer simpler ... by factoryron on Wednesday February 08, 2012 @02:10AM (#3565557)
Even with 5 x 62 case sensitive alphanumeric digits, 12 integers is roughly 1000 times more secure
Re:Ask HN: 5-digit alphanumeric or 12-digit integer simpler ... by syncerr on Wednesday February 08, 2012 @01:58AM (#3565522)
Compare possible brute force combinations: (26+10)^5 vs. 10^12
Re:Ask HN: 5-digit alphanumeric or 12-digit integer simpler ... by eliaskg on Wednesday February 08, 2012 @02:07AM (#3565546)
That would be 10e12 vs 60.466.176. Pretty easy from the security pov.

Also if an alphanumeric string should be entered / remembered by humans make sure to strip I, l, etc.

Re:Ask HN: 5-digit alphanumeric or 12-digit integer simpler ... by syncerr on Wednesday February 08, 2012 @02:14AM (#3565566)
For case-sensitive alphanumeric: (26+26+10)^5

Which is still far lower than 12 digits.

Re:Ask HN: 5-digit alphanumeric or 12-digit integer simpler ... by aen on Wednesday February 08, 2012 @01:26AM (#3565425)
12-digit integer e.g. 907653849272
Re:Ask HN: 5-digit alphanumeric or 12-digit integer simpler ... by aen on Wednesday February 08, 2012 @01:25AM (#3565422)
5-digit alphanumeric e.g. HEL2N