Вопрос

I'm using the Webmatrix.WebData.Security library to control the login/register functionality of my site. The CreateUserAndAccount() method hashes the password the user gives and stores it within the table webpages_Membership. I'm having trouble understanding how the method hashes it. Could somebody help point me in the right direction?

Это было полезно?

Решение

Assuming that you're using the SimpleMembershipProvider, you can view the source on CodePlex.

The actual code is in the HashPassword method of System.Web.Helpers.Crypto

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top