Encrypt password at client side

Adeel Mirza 21 Reputation points
2023-01-31T07:20:30.37+00:00

I am using SHA256 encryption technique to encrypt / decrypt password. But that Encrypt method is server side so while POST the password travels without getting encrypted. Is there a way I can encrypt it at client side using Ajax $.ajax ?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,157 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Adeel Mirza 21 Reputation points
    2023-02-01T05:22:36.7166667+00:00

    I created function for Encryption and decryption. In the database the passwords are stored in encrypted form. But that encryption method is server side, so while POST the password travels in plain text form, before getting encrypted. So that's a serious flaw.

    0 comments No comments