summaryrefslogtreecommitdiff
path: root/inc/PassHash.class.php
Commit message (Collapse)AuthorAge
* Fixed test and broken salt generation in PassHash classAndreas Gohr2011-10-14
| | | | | | | Turned out a test wasn't really testing what it should have been testing and thus did hide a bug. Still puzzles me why it still worked some times. This patch also sets the default iteration count for bmd5 and pmd5 to 8.
* fixed typo in PassHash classAndreas Gohr2011-05-01
| | | | The pure PHP implementation for smd5 failed.
* use a bigger range of characters for password saltsAndreas Gohr2011-01-23
|
* django pass hashes have no leading $Andreas Gohr2011-01-23
|
* refactored passowrd hashing functions to a classAndreas Gohr2011-01-22
this splits the long auth_cryptPassword() function into many member functions of a new class PassHash which should make it more maintainable and reusable for other projects. This also adds two new methods djangomd5 and djangosha1 as used by the popular python framework Django. Maybe the auth_cryptPassword() and auth_verifyPassword() functions should be deprecated in favor of using the class directly?