JavaScript library to encrypt as well as decrypt message.
This is a Node.js module available through the npm registry.
Before installing, download and install Node.js. Node.js 0.10 or higher is required.
If this is a brand new project, make sure to create a package.json
first with
the npm init
command.
Installation is done using the
npm install
command:
$ npm install encrypt-your-message
- Encrypt your message before saving into database or sending it through http request/response.
- Secure your message so that attackers don't get any clue.
- Decrypt the message with your custom key or managed by the module.
- Easy to use.
import eym from "encrypt-your-message";
const enObj = eym(/* CUSTOM-KEY (not recomended) */);
const message = "This is a dummy message";
const encryptedMsg = enObj.encrypt(message);
const decryptedMsg = enObj.decrypt(encryptedMsg);