I had gone through with this link.
Suppose my current-encr is SHA-512, SHA-256, or another, the password hash would be stored (in
/etc/shadow) of the user based on the current encr and would use below:
$2y$: Blowfish, with correct handling of 8 bit characters
What will happen if user changes the current-encr? Will user be able to login using the old password created when older encr was getting used ? If no , how should I sync it up i.e. the same password hash gets updated with the password hash of the changed encryption ?