encrypt-everything
v1.1.0
Published
Encrypt everything like JSON, Strings, Numbers, Objects,...
Downloads
21
Maintainers
Readme
Welcome to encrypt-everything 👋
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