Secure password hashing functions based on the Portable PHP password hashing framework.
Expanded class hierarchy of PhpassHashedPassword
http://www.openwall.com/phpass/
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PhpassHashedPassword:: |
protected | property | Specifies the number of times the hashing function will be applied when generating new password hashes. The number of times is calculated by raising 2 to the power of the given value. | |
PhpassHashedPassword:: |
static | property | Returns a string for mapping an int to the corresponding base 64 character. | |
PhpassHashedPassword:: |
protected | function | Encodes bytes into printable base 64 using the *nix standard from crypt(). | |
PhpassHashedPassword:: |
public | function |
Implements Drupal\Core\Password\PasswordInterface::checkPassword(). Overrides PasswordInterface:: |
|
PhpassHashedPassword:: |
protected | function | Hash a password using a secure stretched hash. | |
PhpassHashedPassword:: |
protected | function | Ensures that $count_log2 is within set bounds. | |
PhpassHashedPassword:: |
protected | function | Generates a random base 64-encoded salt prefixed with settings for the hash. | |
PhpassHashedPassword:: |
public | function | Parse the log2 iteration count from a stored hash or setting string. | |
PhpassHashedPassword:: |
public | function |
Implements Drupal\Core\Password\PasswordInterface::hash(). Overrides PasswordInterface:: |
|
PhpassHashedPassword:: |
constant | The expected (and maximum) number of characters in a hashed password. | ||
PhpassHashedPassword:: |
constant | The maximum allowed log2 number of iterations for password stretching. | ||
PhpassHashedPassword:: |
constant | The minimum allowed log2 number of iterations for password stretching. | ||
PhpassHashedPassword:: |
public | function |
Implements Drupal\Core\Password\PasswordInterface::userNeedsNewHash(). Overrides PasswordInterface:: |
|
PhpassHashedPassword:: |
function | Constructs a new phpass password hashing instance. |