1.1.0 • Published 5 years ago
encrypt-everything v1.1.0
Welcome to encrypt-everything 👋
Encrypt everything like JSON, Strings, Numbers, Objects,...
Install
npm install encrypt-everythingUsage
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