bipin ([info]bipin) wrote,
@ 2008-08-03 12:58:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
password pragmatics
I like my Internet. It's a fun place to be - mine's somehow got this new-agey, citrusy feel to it. However, as one flits from link to link, flirting with blog-poets, sites detailing the lamentable tale of two girls who had just one cup between them, and other such pleasures, ever so often, one comes across the nefarious Password Nanny Sites - sites which insist on some rather entangled set of rules and conventions for their passwords. Rules that promise you unassailability with their version of the online chastity belt.

Needless to say, dissolute as you are, chastity belts annoy you.

First, because they dictate how precious your account is to you. No, I don't need an unbreakable-by-NASA password for my BlockBuster video-rental site. What are you going to do?* Break into my account and send me a scaaaaary movie? Wooo.
And second, because of the arbitrariness of the rules they foist on you. I looked the other way when they made it mandatory to include upper-case letters in my password. I pretended that it was normal when they then said it was imperative to have digits. I defended that it was only polite to provide my mother's age, the number of moles my dog had, and my views on whether Kashmir really belongs to India when they demanded it as answers to 'security questions'. But when they caught up with the new fad of forcing me to adopt special characters - the #s, the &s and the !!s - in my password, I decided that it was time for me to lift my arm parallel to the ground, face my palm vertically at them, and say 'STOP!'.

For now, I'm going to prove to you with my amazing mathematical skills, that you stupid method for 'improving security' is stupid.

Let's say your current password is a mere 8 characters long, each chosen from the set of lower-case letters, upper-case letters and digits. This means that there are 62^8 (26+26+10=62) possible combinations for potential passwords. For the non-computer-sciency of you, this means that, at worst, ScaryMovieSender will have to try 62^8 passwords until, eventually, he gets yours right. Since us manly computer-science people think that 218,340,105,584,896 is a smallish number, we introduce ways to create more possible combinations. Rumor has it that we shall continue on this quest, of decreasing the chances of someone breaking our password until the odds are about the same as that of the average software engineer's chances of fornicating before an arranged marriage.

Either way, one way to increase the number of possible combinations is to increase the number of characters you can compose your password from. Ok, let's do it then: even if you have me believe that anyone not suffering from self-inflicted epilepsy would choose '>' as one of the characters in their password, and we include all 30-something special characters to the base-set, the cardinality of the base-set increases to 92. This means that the total number of possible combinations is now at 92^8.

So, it's 92^8 vs. 62^8.

Staggering improvement, you might say. "Staggering my ass!", I would respond, and then quickly wish I hadn't said it. See, that's an increase of 92^8 / 62^8 times, which deceivingly is just a mere 24 times increase in the total number of combinations. I use the word 'mere', because in contrast, increasing the size of your password by one character increases the number of possibilities by 62 times.

That means that going from the password 'toofew' to 'toomany' is going to fetch you far more 'protection' than being forced to include special characters in your password.

So, pl3ase st0p m@k1ng m3 typ3 my p@55w0rd$ like this. Let those characters be where they truly belong - in speech bubbles of Asterix and PERL code. Instead, let me choose my passwords on my own terms: I hear 'RedshoeBlueshoePasswordu' is a good one. It's apparently got the added advantage that it's in Kannada.

For the curious among you, here's a list of my previous passwords.

* SubodhSir shamed me into retracting that statement on 8/19. He now knows the status of my car-loan, what I scored in third-grade History exams, and oh .. my social security number.
Moral of the story - never piss off a guy who knows more Windows than you know Math.



(Post a new comment)


[info]purely_narcotic
2008-08-04 03:03 am UTC (link)
I decided that it was time for me to lift my arm parallel to the ground, face my palm vertically at them, and say 'STOP!'.

So long as they are not serial killers or shoppers dangling the daggers 'n' stilettos(they are the same thing, yes?) in front of you, give them some leeway already!

I hear 'RedshoeBlueshoePasswordu' is a good one.
That be the Morpheus dilemma, Sir. More appropriate would be 'BrownshoeGreenshoeWhatDidIDo?'

(Reply to this) (Thread)


[info]bipin
2008-08-04 05:21 pm UTC (link)
Rotfl! Wait, I'm not allowed to rotfl during your watch. Ok, 'lol!' it is then.

(Reply to this) (Parent)


[info]code_martial
2008-08-04 06:38 am UTC (link)
Upper-case/lower-case letters, you mean. Alphabet is a set of letters used in a script.

(Reply to this) (Thread)


[info]bipin
2008-08-04 05:27 pm UTC (link)
Errr, I used 'alphabets', not 'alphabet', which in in the implied English language, are symbols from 'A' to 'Z'. But yeah, 'letters' seem to be possibly be the more common usage. I'll make the changes. Thank you.

(Reply to this) (Parent)(Thread)


[info]code_martial
2008-08-05 06:45 am UTC (link)
I got what you said, but I don't know where this implied English language comes from. Maybe it's endemic to India but it's incorrect nevertheless. Incidentally, I wrote an entire sentence starting with, "Alphabets would mean..." but deleted it before posting the previous comment.

(Reply to this) (Parent)


[info]whatnet
2008-08-05 06:34 am UTC (link)
Nice :) I don't know if I've mentioned it before but I think you write really well.

I'd never really thought about the difference between increasing size vs increasing complexity.
Interesting!

And from one of your earlier posts, my definition of a perfect day is pretty much the same as yours too.
Again, I hadn't realized definitions varied across people or that melanin had anything to do with it :)

(Reply to this) (Thread)


[info]bipin
2008-08-05 07:16 am UTC (link)
Thank you :)

Again, I hadn't realized definitions varied across people or that melanin had anything to do with it
You know, I've been thinking - maybe someone needs to more (pointless) research on this. I noticed that Indians who've lived here long enough tend to associate a hundred degrees with pleasantness of weather. Perhaps it's the years of positive reinforcement. Perhaps it's wannabe-yankeeness. Or perhaps they've really begun to enjoy the Sun.
Beats me.

(Reply to this) (Parent)(Thread)


[info]whatnet
2008-08-05 08:30 am UTC (link)
Maybe Melanin's not such a big deal over there. Should check the matrimonials next time :)

(Reply to this) (Parent)


[info]floopilot
2008-08-05 05:17 pm UTC (link)
Not sure why, but your comment reminded me of this:

http://stuffwhitepeoplelike.com/2008/03/11/86-shorts/

(Reply to this) (Parent)(Thread)


[info]bipin
2008-08-05 07:29 pm UTC (link)
Hahaha. That's an awesome site! My favorites are currently this one http://stuffwhitepeoplelike.com/2008/04/30/97-scarves/ and this one http://stuffwhitepeoplelike.com/2008/01/23/20-being-an-expert-on-your-culture/

(Reply to this) (Parent)


[info]threefragsleft
2008-08-05 03:33 pm UTC (link)
please, 19 character obscure passwords rock.

(Reply to this) (Thread)


[info]bipin
2008-08-05 07:33 pm UTC (link)
19 character passwords? What, are you using your name as your password? :D

(Reply to this) (Parent)(Thread)


[info]threefragsleft
2008-08-05 09:22 pm UTC (link)
if only it were that straightforward. it involves complicated equations.

(Reply to this) (Parent)


[info]subhi
2008-08-08 09:08 am UTC (link)
I would think this was obvious- passwords are cracked using dictionary words, dates of birth, usernames, first names, their combinations('p@55w0rd$')... Putting a '@' somewhere does increase the complexity a lot more than having another letter to check.
And yeah- you should be thankful for the security level at blockbuster- your credit card info is kept on file. :)

(Reply to this) (Thread)


[info]bipin
2008-08-09 02:30 am UTC (link)
Long time, miss :)

And yeah- you should be thankful for the security level at blockbuster- your credit card info is kept on file.
I have to admit - I don't really have a Blockbuster account. However, my point remains - I should decide how secure I want my password needs to be. I'm tired of sites pretending they know better.

(Reply to this) (Parent)(Thread)


[info]subhi
2008-08-09 06:53 am UTC (link)
Probabaly true- if it were your own site.
Its akin to having your own house- don't even have a door if you don't want.
But, if you are living with roommates, you can't give out the house keys.

Even user level access can be useful.

(Reply to this) (Parent)


Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…