\think\helper\hashBcrypt

Summary

Methods
Properties
Constants
make()
check()
setRounds()
No public properties found
No constants found
No protected methods found
$rounds
N/A
No private methods found
No private properties found
N/A

Properties

$rounds

$rounds : int

Default crypt cost factor.

Type

int

Methods

make()

make(mixed  $value, array  $options = []) : mixed

Parameters

mixed $value
array $options

Returns

mixed —

check()

check(mixed  $value, mixed  $hashedValue, array  $options = []) : mixed

Parameters

mixed $value
mixed $hashedValue
array $options

Returns

mixed —

setRounds()

setRounds(mixed  $rounds) : mixed

Parameters

mixed $rounds

Returns

mixed —