logoalt Hacker News

wzyboy • last Wednesday at 11:19 PM • 2 replies • view on HN

I've used this kind of password generation in the past: nothing is stored, the tool just computes the password of a website by hash(master_key, website_domain).

This works, until a website (or a corporate IT admin) requires to change your password.


Replies

zahlman • yesterday at 2:15 AM

There are dozens of us!

> This works, until a website (or a corporate IT admin) requires to change your password.

I save a list of "domains", and don't require them to be actually valid domain names or to correspond to the service. So I can just put a number on the value in the file, and the hash function computes something completely different. Of course, that does leak the information about what websites I have accounts on, but that sort of thing is probably easily guessed anyway.

➕ show 1 reply
hamburglar • yesterday at 7:13 AM

Yes and no. The metadata that is hashed per site includes an arbitrary serial number. SerialNumber++ rotates your password. It’s even reversible!