1.1.0 • Published 3 years ago

encrypt-everything v1.1.0

Weekly downloads
24
License
MIT
Repository
-
Last release
3 years ago

Welcome to encrypt-everything 👋

Version License: ISC

Encrypt everything like JSON, Strings, Numbers, Objects,...

Install

npm install encrypt-everything

Usage

Require

const tsf = require("encrypt-everything");

Encrypt

const number = 123;
const string = "encrypt";
const object = {
  name: "justholdmybeer",
  id: 123,
};
tsf.transform(object).then((res) => {
  console.log(res); // O!-+~3&*z*#$-+}{-+^+b*']i!=).....
});

Decrypt

const encryptText = "^+b*']i!=),Fm0(-z*.'%<#$#$jj";

tsf.transformBack(encryptText).then((res) => {
  console.log(res); // justholdmybeer
});

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator