Package Exports
- encrypt-everything
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (encrypt-everything) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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