Skip to content

Instantly share code, notes, and snippets.

View permanovd's full-sized avatar

permanovd

  • Saint-Petersburg, Russia
View GitHub Profile
@kaliaparijat
kaliaparijat / passwords.class.php
Created July 30, 2012 20:16
Drupal Password hash class (Procedural) as a Symfony library class (OOP) :used for a scenario where a Symfony powered website requires access to user credentials that have been signed up with an existing Drupal site
<?php
/**
* @file
* Secure password hashing functions for user authentication.
*
* Based on the Portable PHP password hashing framework.
* @see http://www.openwall.com/phpass/
*