I built an ASP.NET 4.5 website using Web Forms. The site has the Login/Registration mechanism provided by Microsoft; therefore, there's a DB holding the user registration info. One of the tables is 'AspNetUsers'; it contains reg info, including two fields I need help with: 'PasswordHash' and 'SecurityStamp'.
I need to support users logging in from mobile devices, using the credentials established when they registered. When users, trying to log in, provide their username and p/w, I'd like to hash the provided p/w and compare it with the hashed p/w stored in the 'PasswordHash' field of 'AspNetUsers'.
Two problems: I can't confirm what hashing algorithm is used and I don't know where to get the salt in order to compute a hash value for comparison with the DB. Does 'SecurityStamp' have anything to do with salt?
I've been looking both here and the rest of the Web for four days, can't seem to duplicate my situation. A tutorial or example would be awesome, or a pointer to another SO entry that answers my question. Many thanks, and happy holidays to all all who celebrate the season.