This is morally equivalent to using a password manager to encrypt your passwords with a "master password". :)
By that, I mean the overall security of your password scheme is analogous to what people get out of a password manager.
Still, a lot better than password re-use.
KeePass? It's great, and open source.