ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
Public Member Functions | ||||||||||
__construct (array $config=array()) | ||||||||||
encodePassword ($raw, $salt) | ||||||||||
{Encodes the raw password.
| ||||||||||
isPasswordValid ($encoded, $raw, $salt) | ||||||||||
{Checks a raw password against an encoded password.The raw password has to be injected into the encoder instance before.
| ||||||||||
getName () | ||||||||||
{Returns a unique name/id of the concrete password encoder.
| ||||||||||
requiresSalt () | ||||||||||
{Returns whether or not the encoder requires a salt.
| ||||||||||
Additional Inherited Members | |
![]() | |
const | MAX_PASSWORD_LENGTH = 4096 |
![]() | |
comparePasswords ($known_string, $user_string) | |
Compares two passwords. More... | |
isPasswordTooLong ($password) | |
Checks if the password is too long. More... | |
Definition at line 14 of file class.ilMd5PasswordEncoder.php.
ilMd5PasswordEncoder::__construct | ( | array | $config = array() | ) |
ilMd5PasswordEncoder::encodePassword | ( | $raw, | |
$salt | |||
) |
{Encodes the raw password.
string | $raw | The password to encode |
string | $salt | The salt |
ilPasswordException |
Implements ilPasswordEncoder.
Definition at line 27 of file class.ilMd5PasswordEncoder.php.
References ilBasePasswordEncoder\isPasswordTooLong().
Referenced by isPasswordValid().
ilMd5PasswordEncoder::getName | ( | ) |
{Returns a unique name/id of the concrete password encoder.
Implements ilPasswordEncoder.
Definition at line 49 of file class.ilMd5PasswordEncoder.php.
ilMd5PasswordEncoder::isPasswordValid | ( | $encoded, | |
$raw, | |||
$salt | |||
) |
{Checks a raw password against an encoded password.The raw password has to be injected into the encoder instance before.
string | $encoded | An encoded password |
string | $raw | A raw password |
string | $salt | The salt |
Implements ilPasswordEncoder.
Definition at line 41 of file class.ilMd5PasswordEncoder.php.
References ilBasePasswordEncoder\comparePasswords(), encodePassword(), and ilBasePasswordEncoder\isPasswordTooLong().
ilMd5PasswordEncoder::requiresSalt | ( | ) |
{Returns whether or not the encoder requires a salt.
Implements ilPasswordEncoder.
Definition at line 57 of file class.ilMd5PasswordEncoder.php.