🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

react-npm-encrypt-decrypt

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-npm-encrypt-decrypt - npm Package Compare versions

Comparing version

to
1.0.55

2

package.json
{
"name": "react-npm-encrypt-decrypt",
"version": "1.0.54",
"version": "1.0.55",
"description": "The package used to encrypt and decrypt the data dynamically with keys.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -45,6 +45,8 @@ // const CryptoJS = require('crypto-js');

let storageKey = '';
let storedValue = 0;
let storedValue = 1;
function techusEncryptHandler(value, AES_ENC_SECRET_KEY = SKEY, AES_ENC_IV = IV) {
console.log('storedValue',storedValue);
storedValue = localStorage.getItem('yourStorageKey');
console.log('storedValue get',storedValue);
// Check if localStorage is available

@@ -81,8 +83,4 @@ apicall(AES_ENC_SECRET_KEY, AES_ENC_IV);

localStorage.setItem('yourStorageKey', storageKey);
console.log('storageKey',storageKey);
storedValue = localStorage.getItem('yourStorageKey');
console.log('storedValue',storedValue);
}
module.exports = {techusEncryptHandler, apicall};