Hi @打玻璃 ,
How to get the text from a hashed password?
Hashing is a one-way conversion. You cannot un-hash hashed data and get the text.
If you want to check whether the password is correct. You need to hash the entered password and then compare the result with the hashed password in the database. More detail information, see
Use Visual C# to compute and compare hash values
If you are using Asp.net Identity, it also using this method to compare the password with the hashed password. Refer to this link: Hash passwords in ASP.NET Core and the source code for ASP.NET Core Identity's type for a real-world use case.PasswordHasher.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best regards,
Dillion