wordpress-password-js

1.0.0 • Public • Published

Wordpress Password

Create and verify wordpress password @node.js
用于wordpress密码创建与校验的node.js版本,用于任何平台

特别说明:基于***PHP版本 v7+***

Usage

Install

npm install --save wordpress-password-js

Import

const PasswordHash = require('wordpress-password-js');
const hasher = new PasswordHash()

//create a new pwd
var x = hasher.build('123456')
//verify an old pwd
var y = hasher.check('123456',x)
console.log(x,y)

Package Sidebar

Install

npm i wordpress-password-js

Weekly Downloads

142

Version

1.0.0

License

MIT

Unpacked Size

4.08 kB

Total Files

3

Last publish

Collaborators

  • rx6