Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

keyhasher

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

keyhasher - npm Package Compare versions

Comparing version 1.3.1 to 1.3.2

3

encrypthashop.js

@@ -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);

2

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc