Skip to content

Instantly share code, notes, and snippets.

@scottsauber
Last active January 29, 2018 17:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scottsauber/720650c52b3c26734a1f86246296dc94 to your computer and use it in GitHub Desktop.
Save scottsauber/720650c52b3c26734a1f86246296dc94 to your computer and use it in GitHub Desktop.
public void ConfigureServices(IServiceCollection services)
{
services.Configure<PasswordHasherOptions>(options => options.IterationCount = 100_000);
// Note: the number 100,000 is not a formal recommendation. Test the performance of your login page before changing this.
// Do what makes sense for your application, the hardware it runs on, and the hardware climate at the time when you read this.
// Other entries remove for brevity.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment