Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I often have the feeling that my TOTP codes are somehow simple. Simple in the sense of containg repeated digits, some rhythm (e.g. 663183) or symmetry instead of being "purely random" (e.g. 581329).

I guess the reason is the human brain can really recognize many kinds of patterns. Nothing weird about the entropy.



I notice a lot of double digits, but I always chalked that up to confirmation bias.

But if some numbers were doubled, that chunking makes short-term encoding slightly easier. Rule of 7(+/-2) and etc etc etc.

https://lawsofux.com/millers-law/


I mean in a 6 digit code there's over a 50 percent chance you'll have one double, you're using 60% of the available characters in any one return.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: