Yeah, fooling bots was one reason. The other reason is to prevent users from copying the passwords directly. The project I am working on doesn't want a user to be able to easily copy the password and save it, or just copy and paste it into the login box.
I thought about a DB, but I don't know if I like the idea of having the lists of passwords stored, even if they are locked?