Guys, the challenge is to store passwords in encrypted form. As I understand it, you can hash passwords md5 + salt. Ok, I tried to do it all on the server (for starters only in md5 without salt), I use spring security, well, in general, some sort of crap turns out, the password is hashed, but I constantly need to watch when I receive the password from the client - it must be I have to hash it in md5 - not very convenient, that is, the real password comes from the client. Now I wonder if this is not easier to turn on the client? That is, where is it better to hash the password on the backend or client? If on the client, tell me exactly how to turn all this, I'm not strong in js.
Thank you in advance.