PHP Class Pagekit\Auth\Encoder\NativePasswordEncoder

Inheritance: implements Pagekit\Auth\Encoder\PasswordEncoderInterface
Show file Open project: pagekit/pagekit

Protected Properties

Property Type Description
$algorithm
$cost

Public Methods

Method Description
hash ( $raw )
verify ( $hash, $raw, $salt = null )

Method Details

hash() public method

public hash ( $raw )

verify() public method

public verify ( $hash, $raw, $salt = null )

Property Details

$algorithm protected property

protected $algorithm

$cost protected property

protected $cost