Story
I'm using SQL Server database, and there is a table called aspnet_Membership that it seems like it's generated by ASP.NET. The system's frontend no longer uses ASP.NET but still would like to authenticate users from the old database.
What I know
The Password and PasswordSalt columns in the table I think are essential to authenticate a user, however, I don't know what encryption method was used in the system.
An example of a password looks like this: K9YjVGWxF4bPQCvQ8VYA1vbQyCE= and password salt looks like this: CM9k+UbZuKTuFxI46vIVIA==.
There is also a PasswordAnswer field that it seems like it uses the same encryption method, but I don't think it would matter in terms of authenticating a user.
Question
How can I authenticate a user by the given password and salt (ExpressJS preferably)?
Thanks
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)