JavaScript implementation of the Drupal password hashing algorithms