Package detail

wordpress-hash-node

AlexAlbala15.3kGLP1.0.0

A phpass portable hashing function compatible with wordpress passwords

wordpress, phpass, hash

readme

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;