News for hackers. Stuff that matters.

Ask HN: Is there a good way to create pseudo-random passwords mentally?

With more and more news about databases being cracked, and the fact that I use maybe 4 unique passwords for all the services I connect to, I'm wondering if any HNers have devised schemes for creating unique-ish passwords for the services they access.

I don't want to use a password manager because not all services I access will happen just from a laptop, I would love some kind of scheme that can be mentally recited while allowing for something approaching a unique key. Is there anything you guys use?

( 9 comments | 5 points | on HN )
Re:Ask HN: Is there a good way to create pseudo-random passw... by tgriesser on Thursday November 10, 2011 @09:18PM (#3223057)
You could try having a base unique-ish password preceded by a site/service specific unique prefix... so a unique-ish base you would remember "pa$$word" on google would be $go-pa$$word on facebook would be $fb-pa$$word and so on.

I guess if someone a) cracked the password and then b) realized you were using some sort of prefix pattern for all sites they could somehow exploit that, but it's definitely better than the same 4 passwords for everything

Re:Ask HN: Is there a good way to create pseudo-random passw... by byoung2 on Thursday November 10, 2011 @07:08PM (#3222632)
You could try taking a memorable phrase and encoding it:

Iagnblb8daw = I ain't got nothin' but love babe, Eight days a week

I just took one line from a Beatles song, and used the first letter from each word, replacing spelled out numbers with the digit.

Re:Ask HN: Is there a good way to create pseudo-random passw... by autumn_ on Thursday November 10, 2011 @07:35PM (#3222723)
I always wonder when password cracking tools will take this method into account, and iterate over a database of popular song lyrics, phrases, speeches, and such. I suspect this won't be feasible forever.
Re:Ask HN: Is there a good way to create pseudo-random passw... by trafficlight on Friday November 11, 2011 @12:52AM (#3223584)
I do the phrase thing, too, but the sentences are usually made -up gibberish.
Re:Ask HN: Is there a good way to create pseudo-random passw... by darasen on Friday November 11, 2011 @11:22PM (#3227121)
I use something similar to this, but I also translate it into German.
Re:Ask HN: Is there a good way to create pseudo-random passw... by seanalltogether on Thursday November 10, 2011 @07:10PM (#3222639)
But then, you're still using the same password for every site right?
Re:Ask HN: Is there a good way to create pseudo-random passw... by byoung2 on Thursday November 10, 2011 @07:29PM (#3222698)
You could pick a different song/lyric for each site.

For example:

Work-related sites: "8 Days a Week" Travel and Leisure sites: "When I'm 64"

Re:Ask HN: Is there a good way to create pseudo-random passw... by Terretta on Thursday November 10, 2011 @10:28PM (#3223230)
Type the name of the site with a key position shift up, right, left, or down, on each letter. Your password is the sequence of shifts, but every site ends up different and the result will look random.
Re:Ask HN: Is there a good way to create pseudo-random passw... by wavephorm on Thursday November 10, 2011 @09:58PM (#3223163)
One of the better methods I've heard of is to just hash the domain you're logging in to. Choose a PIN, like 1337, then add that PIN to a substring of the domain:

ycombinator.com = 1337ator

techcrunch.com = 1337unch

So, yeah if someone finds out your PIN they can log onto all your accounts. So use it only for non-essential passwords, especially not for email/bank.