wordpress-hash-node icon indicating copy to clipboard operation
wordpress-hash-node copied to clipboard

wordpress-hash-node

Wordpress hashes (phpass library portable hashes) port for nodejs

Based on phpass for php 5 or greater

install:

$ npm install wordpress-hash-node

usage:

var hasher = require('wordpress-hash-node');
var password = 'testPassword';
var hash = hasher.HashPassword(password);
var checked = hasher.CheckPassword(password, hash); //This will return true;