enpcript

0.0.1 • Public • Published

EnpCrypt

npm library for encrypting and decrypting messages using RSA algorithm.

Installation

npm install enp-crypt

Usage

import GPGScript from "../lib/script.js";

const script = new GPGScript("<keys-store-location>");

script.generateKey("<keyname>");

const encData = script.encryptMessage("Hello World!", "<keyname>") as string;

console.log(script.decryptMessage(encData, "<keyname>"));

Testing

npm run test

License

MIT

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.10latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.10

Package Sidebar

Install

npm i enpcript

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

7.96 kB

Total Files

5

Last publish

Collaborators

  • bravo68web