\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 : integer

Default crypt cost factor.

Type

integer

Methods

make()

make(  $value, array  $options = array()) 

Parameters

$value
array $options

check()

check(  $value,   $hashedValue, array  $options = array()) 

Parameters

$value
$hashedValue
array $options

setRounds()

setRounds(  $rounds) 

Parameters

$rounds