Bcrypt what is Bcrypt bcrypt is an npm module that simplifies password salting and hashing install We can install NodeMailer from terminal using the command npm install bcrypt Why to use Bcrypt Security Issues And Concerns How to work ? first it will convert our password in some hashing string and then added with salt value which will generated by using getsalt() function also we compare this hashing string with our original password using compare function