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'));
Use Joi to check a string against a Drupal password hash
<script type="module">
import joiDrupalHash from 'https://cdn.skypack.dev/joi-drupal-hash';
</script>
Allows you to validate a string against a Drupal password hash. So sorry.
require('joi-drupal-hash');
require('joi');
Joi.validate('my-secret-password', Joi.string().drupalHash('myHashedPassword'));