PasswordEncryptor_None deprecated
class PasswordEncryptor_None extends PasswordEncryptor (View source)
deprecated
Cleartext passwords (used in SilverStripe 2.1).
Not recommended.
Properties
Methods
This usually just returns a strict string comparison, but is necessary for retain compatibility with password hashed with flawed algorithms - see PasswordEncryptor_LegacyPHPHash and PasswordEncryptor_Blowfish
Details
static array
get_encryptors()
No description
static PasswordEncryptor
create_for_algorithm(string $algorithm)
No description
string
encrypt(string $password, string $salt = null, Member $member = null)
Return a string value stored in the Member->Password property.
The password should be hashed with salt() if applicable.
string
salt(string $password, Member $member = null)
Return a string value stored in the Member->Salt property.
bool
check(string $hash, string $password, string $salt = null, Member $member = null)
This usually just returns a strict string comparison, but is necessary for retain compatibility with password hashed with flawed algorithms - see PasswordEncryptor_LegacyPHPHash and PasswordEncryptor_Blowfish
__construct()
No description