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

@element-ts/krypton

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@element-ts/krypton - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

2

js/KrBcrypt.js

@@ -30,3 +30,3 @@ "use strict";

const hashData = Buffer.from(hash, "utf8");
return Buffer.compare(password, hashData) === 0;
return password.equals(hashData);
});

@@ -33,0 +33,0 @@ }

{
"name": "@element-ts/krypton",
"version": "0.3.0",
"version": "0.3.1",
"description": "A simple crypto library that wraps node and bcrypt.",

@@ -5,0 +5,0 @@ "keywords": [

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