New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

encrypt-your-message

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

encrypt-your-message

JavaScript library to encrypt as well as decrypt message.

latest
Source
npmnpm
Version
1.1.2
Version published
Maintainers
1
Created
Source

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

Keywords

encryption

FAQs

Package last updated on 29 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts