Socket
Socket
Sign inDemoInstall

argon2

Package Overview
Dependencies
Maintainers
1
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

argon2 - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

src/argon2_node.cpp

2

index.js

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

var bindings = require("bindings")("argon2_lib"),
var bindings = require("bindings")("argon2"),
crypto = require("crypto");

@@ -3,0 +3,0 @@

{
"name": "argon2",
"version": "0.4.0",
"version": "0.4.1",
"description": "An Argon2 library for Node",
"main": "index.js",
"scripts": {
"build": "npm run configure && node-gyp build",
"clean": "node-gyp clean && rm -f index-cov.js",
"configure": "node-gyp configure",
"preinstall": "node-gyp rebuild && git submodule update --init",
"test": "npm run build && nodeunit test.spec.js"
"build": "node-gyp configure rebuild",
"clean": "node-gyp clean",
"preinstall": "git submodule update --init && make -C argon2",
"postinstall": "npm run build",
"test": "nodeunit test.spec.js"
},

@@ -13,0 +13,0 @@ "repository": {

@@ -1,5 +0,9 @@

# node-argon2 [![NPM package][npm-image]][npm-url] [![Build status][travis-image]][travis-url] [![Coverage status][coverage-image]][codeclimate-url] [![Code Climate][codeclimate-image]][codeclimate-url] [![Dependencies][david-dm-image]][david-dm-url]
# node-argon2 [![NPM package][npm-image]][npm-url] [![Build status][codeship-image]][codeship-url] [![Coverage status][coverage-image]][coverage-url] [![Code Climate][codeclimate-image]][codeclimate-url] [![Dependencies][david-dm-image]][david-dm-url]
Bindings to the reference [Argon2](https://github.com/P-H-C/phc-winner-argon2)
implementation.
### Before installing
You **MUST** have a C++ compiler and **node-gyp** (globally) installed before
proceeding with the package install.
### Usage

@@ -125,5 +129,6 @@ It's possible to hash a password using both Argon2i (default) and Argon2d, sync

[npm-url]: https://www.npmjs.com/package/argon2
[travis-image]: https://img.shields.io/travis/ranisalt/node-argon2.svg?style=flat-square
[travis-url]: https://travis-ci.org/ranisalt/node-argon2
[coverage-image]: https://img.shields.io/codeclimate/coverage/github/ranisalt/node-argon2.svg?style=flat-square
[codeship-image]: https://img.shields.io/codeship/eb7243d0-f615-0132-1cce-020cea137f51/master.svg?style=flat-square
[codeship-url]: https://codeship.com/projects/85936
[coverage-image]: https://img.shields.io/coveralls/ranisalt/node-argon2/master.svg?style=flat-square
[coverage-url]: https://coveralls.io/github/ranisalt/node-argon2
[codeclimate-image]: https://img.shields.io/codeclimate/github/ranisalt/node-argon2.svg?style=flat-square

@@ -130,0 +135,0 @@ [codeclimate-url]: https://codeclimate.com/github/ranisalt/node-argon2

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

var argon2 = process.env.ARGON2_COVERAGE
var argon2 = process.env.COVERAGE
? require('./index-cov')

@@ -3,0 +3,0 @@ : require('./index');

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