I know this sounds like pretty dumb question. Why would you use a password generator at all if it's predictable.
But suppose you have a server and client - the server always requires a password and has a pool of n possible username/password combinations.
In order to connect the client has to provide valid credentials.
You don't want to hardcode the password into the client software but instead implement an algorithm that will figure out the right password based on timestamp.
I am looking of a robust algorithm to achieve that, or suggestions for a better approach to the problem.