PHPackages                             selfsimilar/drupal7\_password\_hasher - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. selfsimilar/drupal7\_password\_hasher

ActiveLibrary[Security](/categories/security)

selfsimilar/drupal7\_password\_hasher
=====================================

Drupal 7 password hasher wrapped in a properly namespaced class wrapper.

v1.0.0(5y ago)09.1k—0%1GPL-3.0-or-laterPHPPHP &gt;=7.0.0

Since Nov 3Pushed 3y ago1 watchersCompare

[ Source](https://github.com/selfsimilar/drupal7_password_hasher)[ Packagist](https://packagist.org/packages/selfsimilar/drupal7_password_hasher)[ Docs](http://github.com/selfsimilar/drupal7_password_hasher/)[ RSS](/packages/selfsimilar-drupal7-password-hasher/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (1)

Drupal 7 Password Hasher
========================

[](#drupal-7-password-hasher)

[![Build Status](https://camo.githubusercontent.com/c73b6978488da1f667295ca16b8e145231d5df2cee13bb343ed52f7a93a4d30b/68747470733a2f2f7472617669732d63692e6f72672f73656c6673696d696c61722f64727570616c375f70617373776f72645f6861736865722e7376673f6272616e63683d6d61696e)](https://travis-ci.org/selfsimilar/drupal7_password_hasher)

This is the Drupal 7 password hasher code, reformatted in to a PSR-4 compliant library class for use in PHP projects that need to import legacy Drupal 7 user accounts. Drupal 7 is licensed under the GPLv3, and as this borrows directly from that code, I have licensed this code similarly. Thanks to [HauteLook](https://github.com/hautelook) for the [Modernized Openwall Phpass](https://github.com/hautelook/phpass) package for inspiration.

Usage
-----

[](#usage)

```
