super-simple-encryption
v1.0.2
Published
A super simple encryption library for NodeJS
Downloads
6
Readme
Installation
$ npm install --save super-simple-encryption
or if you prefer yarn
$ yarn add super-simple-encryption
Usage
import { SuperSimpleEncryption } from "super-simple-encryption";
const enc = new SuperSimpleEncryption("32 digit key");
const encrypted = enc.encrypt("Hello World"); // returns encrypted string
const decrypted = enc.decrypt(encrypted); // returns decrypted string