프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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. |
메소드 | 설명 | |
---|---|---|
encode ( string $password ) : string | Encode a plain text password. |
메소드 | 설명 | |
---|---|---|
generateSalt ( ) : string | Generates a random salt. | |
getRandomBytes ( integer $count = 16 ) : boolean | string | Gets a number of random bytes |
protected generateSalt ( ) : string | ||
리턴 | string | the generated salt |
public int $workFactor | ||
리턴 | integer |