Encrypt password


Could anyone pls help to understand what are the different ways to encrypt/hash MongoDB database user password.

Currently we are using plain text password to connect database either from server locally or from client(db_uri). Now we have a requirement to use the encrypted passwords, I have gone through the MongoDB official docs but didn’t get useful info.