Class PasswordEncryptor_LegacyPHPHash
Legacy implementation for SilverStripe 2.1 - 2.3, which had a design flaw in password hashing that caused the hashes to differ between architectures due to floating point precision problems in base_convert(). See http://open.silverstripe.org/ticket/3004
- PasswordEncryptor
-
PasswordEncryptor_PHPHash
-
PasswordEncryptor_LegacyPHPHash
Methods summary
public
String
|
#
encrypt( String $password, String $salt = null,
Return a string value stored in the Member->Password property. The
password should be hashed with |
public
boolean
|
#
compare( String $hash1, String $hash2 )
This usually just returns a strict string comparison, but is necessary for
|
Methods inherited from PasswordEncryptor_PHPHash
Methods inherited from PasswordEncryptor
create_for_algorithm(),
get_encryptors(),
register(),
salt(),
unregister()