title: How to properly encrypt and decrypt passwords using React MongoDB and Express
body: <p>Currently I am working in dev env on my local machine where I am storing passwords in plain text using MongoDB. I am using <code>express-jwt</code> along with <code>jsonwebtoken</code> for passing user data and authentication. I've researched <code>bcryptjs</code> and <code>bcrypt</code> and I would like to implement whichever is best for React, and Express, for passing hashed passwords to the database from the client. I have found resources for server side, but nothing for client side.</p>
  <p>My question is then, what is the methodology for properly saving encrypted passwords on my server when they are passed from a client? How do I encrypt passwords client side then authenticate server side?</p>
  <p>I have read some articles saying there is no need to encrypt client side due to ssl, but others say there is an absolute need to encrypt client side. What is the correct way, and how can I implement it on my React application?</p>