e4a5aacf2a
[feature/passwords] Use correct prefix for salt in salted_md5
...
PHPBB3-11610
2013-09-14 13:53:26 +02:00
857b90057b
[feature/passwords] Add method for obtaining the hash settings only
...
This is needed for combined hashing of passwords.
PHPBB3-11610
2013-09-14 13:53:19 +02:00
4b81b93d10
[feature/passwords] Make sure hash has the required length
...
Also added tests to make sure that crypto drivers are enforcing the hash
length.
PHPBB3-11610
2013-09-14 13:53:08 +02:00
3f70699aa3
[feature/passwords] Use common salt generation function for all types
...
We will be using the same method inside the driver helper class for all hash
types. This is the same function that has been used for the salted md5 hash
of phpBB 3.0.
PHPBB3-11610
2013-09-14 13:52:43 +02:00
5574b2a8e9
[feature/passwords] Add driver helper class file
...
PHPBB3-11610
2013-09-14 13:52:38 +02:00
61e98fbd63
[feature/passwords] Add driver helper class for additional functions
...
Functions for the helper class might be used in other drivers as well and
therefore shouldn't be limited to just one driver.
PHPBB3-11610
2013-09-14 13:52:25 +02:00
d3d317a2de
[feature/passwords] Correctly supply hash salt and settings to bcrypt
...
PHPBB3-11610
2013-09-14 13:51:44 +02:00
c9afda5a65
[feature/passwords] Use correct prefix for bcrypt type
...
PHPBB3-11610
2013-09-14 13:51:39 +02:00
78a8369173
[feature/passwords] Add basic bcrypt drivers for $2a$ & $2y$ prefix
...
The $2a$ prefix is the basic implementation with the $2y$ prefix extending
that class. However, the default hashes for phpBB should be generated with
$2y$ unless the PHP version is older than 5.3.7.
PHPBB3-11610
2013-09-14 13:51:24 +02:00
31d2a8ef05
[feature/passwords] Add salted md5 (phpBB3 default) and phpass drivers
...
The phpass driver extends the standard salted md5 driver of phpBB3. It will
only support the $P$ prefix that phpass uses.
PHPBB3-11610
2013-09-14 13:51:16 +02:00
4b6646d1be
[feature/passwords] Add crypto driver base class and interface
...
PHPBB3-11610
2013-09-14 13:51:10 +02:00