Comparing version 1.3.1 to 1.3.2
@@ -6,3 +6,2 @@ var {moreSalting} = require('./algos/somersault') | ||
var salt = parseInt(pass); | ||
salt -= parseInt(process.env.SECRET); | ||
@@ -37,4 +36,2 @@ var extraSalt = moreSalting(salt); | ||
var saltRev = parseInt(pass); | ||
saltRev -= parseInt(process.env.SECRET); | ||
@@ -41,0 +38,0 @@ var extraSaltRev = moreSalting(saltRev); |
{ | ||
"name": "keyhasher", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "encrypthashop.js", |
@@ -31,6 +31,6 @@ Simple, effective, easy to implement encryption for JavaScript | ||
var hashAble = key.hash("Normal Sentence", passcode); | ||
var hashAble = key.hash("Normal Sentence", process.env.passcode); | ||
console.log(`Hashed Phrase: ${hashAble}`) | ||
var rawWord = key.revHash("Hashed code", passcode); | ||
var rawWord = key.revHash("Hashed code", process.env.passcode); | ||
console.log(`Output: ${rawWord}`) | ||
@@ -37,0 +37,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
0
38469
179