Method NeedsRehash(string)
Checks whether the stored hash is in legacy SHA256 format and needs rehashing to BCrypt.
Use this in login flow: if true, rehash with after successful verify.
public static bool NeedsRehash(string hashedPassword)
Checks whether the stored hash is in legacy SHA256 format and needs rehashing to BCrypt.
Use this in login flow: if true, rehash with after successful verify.
public static bool NeedsRehash(string hashedPassword)