react-npm-encrypt-decrypt
Advanced tools
Comparing version
@@ -0,1 +1,3 @@ | ||
const CryptoJS = require('crypto-js'); | ||
function decryptJSONHandler(value, AES_ENC_SECRET_KEY, AES_ENC_IV) { | ||
@@ -14,2 +16,5 @@ const key = CryptoJS.enc.Utf8.parse(AES_ENC_SECRET_KEY); | ||
function encryptJSONHandler(value, AES_ENC_SECRET_KEY, AES_ENC_IV) { | ||
console.log(value) | ||
console.log(AES_ENC_SECRET_KEY) | ||
console.log(AES_ENC_IV) | ||
const key = CryptoJS.enc.Utf8.parse(AES_ENC_SECRET_KEY); | ||
@@ -16,0 +21,0 @@ const iv = CryptoJS.enc.Utf8.parse(AES_ENC_IV); |
{ | ||
"name": "react-npm-encrypt-decrypt", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "The package used to encrypt and decrypt the data dynamically with keys.", | ||
@@ -10,3 +10,10 @@ "main": "index.js", | ||
"author": "techus", | ||
"license": "ISC" | ||
"license": "ISC", | ||
"keywords": [ | ||
"encrypt" | ||
], | ||
"dependencies": { | ||
"crypto-js": "^4.2.0", | ||
"react-npm-encrypt-decrypt": "^1.0.0" | ||
} | ||
} |
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
1826
32.99%4
33.33%30
15.38%1
-50%9
Infinity%2
Infinity%+ Added
+ Added