I'm building a web application using the ASP.net Membership Provider to manage, Authentication/Authorisation. I've done this a bunch of times, but this time I need to store the hashed password in SHA256, instead of the standard password hash which is SHA1.
Looking at the overridable methods on the SQLMembershipProvider there is at least one that I think I'm going to have to override in order to get this puppy to work:
byte[] EncryptPassword(byte[] password)
I'll also have to change the aspnet_Membership.Password field cope with the newly hashed password, currently it's only nvarchar(128).
I was hoping that someone with a little more experience on extending the SqlMembershipProvider might be able to give me some pointers.
Thanks.
note: Although I'm using the .net 2.0 membership provider, I'm actually running .net 3.5