How do I hash an users input(password) to database and then later read the hashed password during login?
I believe the solution is to hash the password upon registe
Use the System.Web.Helpers.Crypto NuGet package from Microsoft.
System.Web.Helpers.Crypto
You hash a password like this: var hash = Crypto.HashPassword("foo");
var hash = Crypto.HashPassword("foo");
You verify a password like this: var verified = Crypto.VerifyHashedPassword(hash, "foo");
var verified = Crypto.VerifyHashedPassword(hash, "foo");