back

by softwaredoug·9y ago·view on hn ↗
I put my twitter password behind a hash function that takes a good 10 minutes to run. So current me can make future me a lot more productive by hitting "log out". Future me usually turns out lazy enough to actually just do work!
4 comments
How does this work? Do you change it every time you log in? Or do you just force yourself to not look at or save the password each time you retrieve it?
Password I know -> hash function (probably with millions or billions of iterations) -> Twitter password that I don't know.

Not peeking at the Twitter password is a non-issue, people don't generally memorize the output of hash functions, even if they wanted to, they are a long string of random characters.

Here's an example: the SHA256 hash of your username is 328BFB7DEAB24355A7A0D2377AB8DEF70D8DECF968E90AA507D590ACDD25A7AC if you were to then hash 328BFB7DEAB24355A7A0D2377AB8DEF70D8DECF968E90AA507D590ACDD25A7AC you'd get 227D82D075605DE042164082145FC7D296DF20C4BAAA2834B5541182C0D13051. Hash that and get 2062A298907588A3045EE89D9C366C64097924BC50F48981CF4A736B9BB093DF. Now repeat that process a billion or so times and you'll calculate your Twitter password.

This is a really great idea, it's literally impossible to overcome the restriction.

>it's literally impossible to overcome the restriction

"Would you like to save this password?" "Yes"

If we are going to play that game technically you can just keep the tab open. I meant once you lock yourself out there is no way to bypass the unlocking process.
He probably uses a randomly generated password that he doesn't bother memorizing and which he copy/pastes.
I did something a little more drastic. I have a electronic timer device on my plug socket for the internet router.

So much easier than screwing around with software.

Throw your method up on Github and help save us all.
This is just immature. Can't you, you know, just restrain yourself?

EDIT: Don't you feel emotionally drained after doing, say, a long Twitter session? Doesn't that trigger a natural self-preservation instinct in you? That's how it worked for me.