I'm currently migrating the old API that use .Net Framework 4.5.2 to .Net Core 2.1, in the old API that use .Net Framework 4.5.2 there's this script :
PasswordHasher hasher = new PasswordHasher();
password = ConfigurationManager.AppSettings["userDefaultPassword"].ToString();
hashedPassword = hasher.HashPassword(password);
so i want to know, is there any equal function that i can use in .Net Core 2.1 that produce the same hash result as in the old .Net Framework?