BcryptHasher
final class BcryptHasher implements Hasher
Bcrypt implementation of the Hasher contract.
Properties
| private int | $cost |
Methods
__construct(int $cost = 12)
No description
string
make(string $value)
No description
bool
needsRehash(string $hashed)
No description
bool
verify(string $value, string $hashed)
No description
Details
at line 17
__construct(int $cost = 12)
No description
at line 25
string
make(string $value)
No description
at line 37
bool
needsRehash(string $hashed)
No description
at line 46
bool
verify(string $value, string $hashed)
No description