TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: 5-digit alphanumeric or 12-digit integer simpler and more secure?

2 pointsby aenover 13 years ago

5 comments

ajucover 13 years ago
This is for some password authentication?<p>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.<p>BTW - I'v got idea how to ensure people will use unique secure passwords on your site. It's a little harsh, but still.<p>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".
评论 #3565713 未加载
factoryronover 13 years ago
Even with 5 x 62 case sensitive alphanumeric digits, 12 integers is roughly 1000 times more secure
syncerrover 13 years ago
Compare possible brute force combinations: (26+10)^5 vs. 10^12
评论 #3565546 未加载
评论 #3565566 未加载
aenover 13 years ago
12-digit integer e.g. 907653849272
aenover 13 years ago
5-digit alphanumeric e.g. HEL2N