PasswordEncryptor_None
class PasswordEncryptor_None extends PasswordEncryptor
Cleartext passwords (used in SilverStripe 2.1).
Also used when Security::$encryptPasswords is set to FALSE. Not recommended.
Methods
No description
This usually just returns a strict string comparison, but is necessary for retain compatibility with password hashed with flawed algorithms - see {@link PasswordEncryptor_LegacyPHPHash} and {@link PasswordEncryptor_Blowfish}
Details
in PasswordEncryptor at line 25
static Array
get_encryptors()
in PasswordEncryptor at line 34
static PasswordEncryptor
create_for_algorithm(String $algorithm)
at line 370
String
encrypt(String $password, String $salt = null, Member $member = null)
Return a string value stored in the {@link Member->Password} property.
The password should be hashed with {@link salt()} if applicable.
at line 374
String
salt(String $password, Member $member = null)
Return a string value stored in the {@link Member->Salt} property.
in PasswordEncryptor at line 89
check($hash, $password, $salt = null, $member = null)
This usually just returns a strict string comparison, but is necessary for retain compatibility with password hashed with flawed algorithms - see {@link PasswordEncryptor_LegacyPHPHash} and {@link PasswordEncryptor_Blowfish}