Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 420 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 420 Bytes

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;