How to get the text from a hashed password?

mc 3,641 Reputation points

there is a password and securityStamp how to get the text ?

the password is hashed by the securityStamp

A set of technologies in the .NET Framework for building web applications and XML web services.
4,133 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Zhi Lv - MSFT 32,006 Reputation points Microsoft Vendor

    Hi @mc ,

    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 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,

    0 comments No comments