I'm talking about existing users. They have cleartext passwords stored in the DB. That's unacceptable.
There are quite a lot users in there, so recreating the user is not an option.
Which hashing algorithm has been used? With or without salt? Which encoding? If you tell me I will write a script on my own.