New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.2.5 to 1.3.0

8

encrypthashop.js
var {moreSalting} = require('./algos/somersault')
require('dotenv').config();
const hash = function (string, pass) {
const input = string;
var salt = parseInt(pass) + process.env.SECRET;
var salt = parseInt(pass);
salt -= parseInt(process.env.SECRET);

@@ -34,3 +36,5 @@ var extraSalt = moreSalting(salt);

const inputRev = string;
var saltRev = parseInt(pass) - process.env.SECRET;
var saltRev = parseInt(pass);
saltRev -= parseInt(process.env.SECRET);

@@ -37,0 +41,0 @@ var extraSaltRev = moreSalting(saltRev);

{
"name": "keyhasher",
"version": "1.2.5",
"version": "1.3.0",
"description": "",

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

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