Skip to content

Instantly share code, notes, and snippets.

@mikebrind
Created May 4, 2019 18:56
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 mikebrind/c2c3feb2876bd673df4f5ef960b2ebc3 to your computer and use it in GitHub Desktop.
Save mikebrind/c2c3feb2876bd673df4f5ef960b2ebc3 to your computer and use it in GitHub Desktop.
using System;
using Microsoft.AspNetCore.Identity;
namespace PasswordHasherTest
{
class Program
{
static void Main(string[] args)
{
var passwordHasher = new PasswordHasher<string>();
Console.WriteLine(passwordHasher.HashPassword(null, "strong password"));
Console.ReadLine();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment