Install NPM and install like this
npm install node-forge
Minify, so that we can use it in our project,
npm run minify
Now, use AES-CBC 128 bit encryption ciphers. Create a key and generate.
For an example, try to encrypt a string of text to store it in the database.