0
kansoftware created
Hi, I am creating users directly from database using store procedure. All work is done but i am not able to set password in encrypted with my dynamic string. can use help us what algorithm is use in ASP.Net Zero for user password.
Thanks, Mohit
1 Answer(s)
-
0
Hi,
You need to inject
IPasswordHasher<User>
and then use it as shown below;_passwordHasher.HashPassword(user, password)