🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

bcrypt

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bcrypt - npm Package Compare versions

Comparing version

to
0.6.0

binding.gyp

3

package.json

@@ -6,3 +6,3 @@ {

"main": "./bcrypt",
"version": "0.5.0",
"version": "0.6.0",
"author": "Nick Campbell (http://github.com/ncb000gt)",

@@ -23,3 +23,2 @@ "engines": { "node": ">= 0.6.0" },

"scripts": {
"install": "make build",
"test": "make test"

@@ -26,0 +25,0 @@ },

@@ -12,2 +12,18 @@ node.bcrypt.js

Version Compatability
=============
<table>
<tr>
<td>Node Ver</td><td>Bcrypt Version</td>
</tr>
<tr>
<td>&lt;= 0.4.x</td><td>&lt;= 0.4.x</td>
</tr>
<tr>
<td>&gt;= 0.6.x</td><td>&gt;= 0.5.x</td>
</tr>
</table>
Security Issues/Concerns

@@ -26,3 +42,3 @@ =============

* NodeJS
* OpenSSL
* OpenSSL (Development Libraries (header files) for compilation)

@@ -38,8 +54,11 @@ From NPM

Assuming you've already built node, you can run the waf script:
Assuming you've already built node, you can compile the module with `node-gyp`:
node-waf configure
node-waf build
npm link
git clone git://github.com/ncb000gt/node.bcrypt.js.git
cd node.bcrypt.js
node-gyp configure
node-gyp build
Note: if you do not have node-gyp installed, install it using: `npm install -g node-gyp`
Usage - Sync

@@ -52,3 +71,3 @@ ============

var salt = bcrypt.genSaltSync(10);
var hash = bcrypt.encryptSync("B4c0/\/", salt);
var hash = bcrypt.hashSync("B4c0/\/", salt);
// Store hash in your password DB.

@@ -182,1 +201,2 @@

[vadimg]:https://github.com/vadimg
[bnoordhuis]:https://github.com/bnoordhuis

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet