One problem I had when using a similar technique is how to change passwords. Some services require regular password changes, security breaches require it, etc.
So I needed some additional piece of information, namely how many times I've had to change passwords, so a new function argument.
Eventually I gave up and started using a password manager.