joi-drupal-hash
v1.1.0
Published
Use Joi to check a string against a Drupal password hash
Downloads
2
Readme
joi-drupal-hash
Allows you to validate a string against a Drupal password hash. So sorry.
Usage
require('joi-drupal-hash');
require('joi');
Joi.validate('my-secret-password', Joi.string().drupalHash('myHashedPassword'));