Upt o now, we were storing passwords as plain texts. We're about to update our software components in order to store and check them using an salted-password strategy.
So, we need to move old current passwords to salted-passwords using our java implementation.
We are using mongo in order to store them.
How could I get users from mongo transform its password and update them? or put them on other collection?