What is the best way to encrypt login details (username and password) of any web based application using JavaScript?
问题 What is the best way to encrypt the login details (username and password) of any web based application using JavaScript at client side? My requirement is to encrypt the username and password of the login page of the web application using JavaScript and this encrypted data needs to be used further at a later stage of the process. Any help would be appreciable. Regards... 回答1: You should be encrypting login creds in your backend. I recommend Crypto-js. There are instructions for both client