Property | Type | Description | |
---|---|---|---|
$hashMethod | Callable | The hash method to use when encoding passwords | |
$workFactor | integer | The higher the work factor the more computationally expensive it is to encode and validate passwords. So it makes your passwords harder to crack, but it can also be a burden on your own server. |
Method | Description | |
---|---|---|
encode ( string $password ) : string | Encode a plain text password. |
Method | Description | |
---|---|---|
generateSalt ( ) : string | Generates a random salt to use when noncing passwords |
protected generateSalt ( ) : string | ||
return | string | the random salt |
public Callable $hashMethod | ||
return | Callable |
public int $workFactor | ||
return | integer |