CoolCMS API

PasswordHasher
in package

Table of Contents

Methods

hash()  : string
needsRehash()  : bool
verify()  : bool

Methods

hash()

public hash(string $password) : string
Parameters
$password : string
Return values
string

needsRehash()

public needsRehash(string $hash) : bool
Parameters
$hash : string
Return values
bool

verify()

public verify(string $password, string $hash) : bool
Parameters
$password : string
$hash : string
Return values
bool
On this page

Search results