SimpleCryptPassword
class SimpleCryptPassword implements CryptPassword
Joomla Platform Password Crypter
Methods
string
create(
string $password,
string $type = null)
Creates a password hash
void
setCost(
integer $cost)
Sets the cost parameter for the generated hash for algorithms that use a cost factor.
boolean
verify(
string $password,
string $hash)
Verifies a password hash
void
setDefaultType(
string $type)
Sets a default type
void
getDefaultType()
Gets the default type