Ask HN: Is derivating passwords from a master key and service name a good idea?
Hi, I had an idea about generating passwords for different services (e.g. Hacker News, Facebook, Twitter, ...) by using a cryptographic hash of a master key chosen by each person and the services name, like this (python): import hashlib import base64 def password(masterkey, service): h = hashlib.sha256() # probably could use hashlib.hmac? h.update(bytearray(masterkey,...