npm i encryption_api-pkg
const encryption_api_pkg = require('encryption_api-pkg');
const encryption_api_pkg = require("encryption_api-pkg");
const api = new encryption_api_pkg();
encrypt() // To encrypt string text
decrypt(); // To decrypt string text
const encryption_api_pkg = require("encryption_api-pkg");
const api = new encryption_api_pkg();
let Text = "Hello World";
let Key = "ImAlex";
let encrypt_text = api.encrypt(Text, Key);
console.log(encrypt_text);
let decrypt_text = api.decrypt(encrypt_text,Key);
console.log(decrypt_text);