New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

node-flower-password

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-flower-password - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

dist/flowerpassword.js

@@ -36,2 +36,2 @@ 'use strict';

module.exports = fpCode;
exports = module.exports = fpCode;

@@ -1,1 +0,1 @@

"use strict";function fpCode(i,e,o){var s=void 0,r=void 0,d=void 0,v=void 0,l=void 0,n=void 0;if(o=o||16,!i||!e||o<2||o>32)return null;s=MD5(i,e),r=MD5(s,"kise").split(""),d=MD5(s,"snow").split(""),v="sunlovesnow1990090127xykab";for(var t=0;t<32;t++)isNaN(d[t])&&v.search(r[t])>-1&&(d[t]=d[t].toUpperCase());return l=d.join(""),n=l.slice(0,1),(isNaN(n)?n:"K")+l.slice(1,o)}var MD5=require("blueimp-md5");module.exports=fpCode;
"use strict";function fpCode(i,e,o){var s=void 0,r=void 0,d=void 0,t=void 0,v=void 0,l=void 0;if(o=o||16,!i||!e||o<2||o>32)return null;s=MD5(i,e),r=MD5(s,"kise").split(""),d=MD5(s,"snow").split(""),t="sunlovesnow1990090127xykab";for(var n=0;n<32;n++)isNaN(d[n])&&t.search(r[n])>-1&&(d[n]=d[n].toUpperCase());return v=d.join(""),l=v.slice(0,1),(isNaN(l)?l:"K")+v.slice(1,o)}var MD5=require("blueimp-md5");exports=module.exports=fpCode;

@@ -5,3 +5,3 @@ {

"description": "Flower Password implementation for Node.js",
"version": "1.0.1",
"version": "1.0.2",
"main": "dist/flowerpassword.js",

@@ -32,3 +32,3 @@ "files": [

"dependencies": {
"blueimp-md5": "^2.5.0"
"blueimp-md5": "^2.6.0"
},

@@ -35,0 +35,0 @@ "devDependencies": {

@@ -31,2 +31,2 @@ 'use strict';

module.exports = fpCode;
exports = module.exports = fpCode;

Sorry, the diff of this file is not supported yet

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