Base solution for your next web application
Open Closed

How to decrypt Abpusers table password hash value ?? #3557


User avatar
0
kunnummal created

Hi,

I want to use ABPUsers table username and password for both Web Application and Windows Application but the password was encrypted with hash value. How to decrypt this hash value??

Also i tried to call WEB Api in Windows application but unable to retreive the password.

Looking forward for the support.

Thx


4 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    You cannot unhash an hashed string. But you can hash the password you have using

    new PasswordHasher().HashPassword(password)
    

    and compare it with original hashed value.

    Thanks.

  • User Avatar
    0
    kunnummal created

    Hi ismcagdas,

    Thx for your prompt reply. the method you have suggested here, we are already using in our applications. This method will works out only for web application.

    Or

    Can you send us some code samples for how to decrypt windows application password.

    Awaiting for your reply.

  • User Avatar
    0
    jonas452 created

    Hi,

    FYI, the passwords aren't encrypted. They are hashed. Its completly different. It is also mathematicly impossible to unhash a hash.

    The passwords are being generated and managed through aspnet identity core i think.

  • User Avatar
    0
    alper created
    Support Team

    thanks for the information ;)