Scenario
In my current project, I am working with a SQL Server database that contains a table named aspnet_Membership
, which appears to have been generated by ASP.NET. Although our system's frontend no longer utilizes ASP.NET, we still need to authenticate users using the data stored in this old database.
Available Information
It seems that the Password
and PasswordSalt
columns in the table are crucial for authenticating a user. Unfortunately, I am unsure about the encryption method that was used in the original system.
A sample password entry resembles: K9YjVGWxF4bPQCvQ8VYA1vbQyCE=
, while the password salt is represented as: CM9k+UbZuKTuFxI46vIVIA==
.
Additionally, there is a PasswordAnswer field in the table that likely uses the same encryption method. However, I believe its relevance to user authentication is minimal.
Request
I am seeking guidance on how to authenticate a user based on the provided password and salt values (preferably using ExpressJS). Any assistance would be greatly appreciated.
Thank you in advance.