Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 247 Bytes

File metadata and controls

11 lines (8 loc) · 247 Bytes

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'));