Skip to content

SamBadiei/encrypt-everything

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to encrypt-everything 👋

Version License: MIT

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published