Translations:Manual:WrapOldPasswords.php/6/en

This maintenance script can wrap all passwords in $legacyA or $legacyB if you do not want to wait for your users to log in.