encrypt-your-message
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

encrypt-your-message

JavaScript library to encrypt as well as decrypt message.

Installation

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

Features

  • 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.

Example

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);

Package Sidebar

Install

npm i encrypt-your-message

Weekly Downloads

3

Version

1.1.2

License

ISC

Unpacked Size

5.61 kB

Total Files

8

Last publish

Collaborators

  • devmanoj