How to create a asp.net membership provider hashed password manually?

Posted by Anheledir on Stack Overflow See other posts from Stack Overflow or by Anheledir
Published on 2010-03-30T17:54:30Z Indexed on 2010/03/31 0:43 UTC
Read the original article Hit count: 337

I'm using a website as a frontend and all users are authenticated with the standard ASP.NET Membership-Provider. Passwords are saved "hashed" within a SQL-Database.

Now I want to write a desktop-client with administrative functions. Among other things there should be a method to reset a users password. I can access the database with the saved membership-data, but how can I manually create the password-salt and -hash? Using the System.Web.Membership Namespace seems to be inappropriate so I need to know how to create the salt and hash of the new password manually.

Experts step up! :)

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about asp.net-membership