__construct() __construct(\TriTan\Interfaces\DatabaseInterface $db, \TriTan\Interfaces\Password\PasswordHashInterface $hasher) Parameters \TriTan\Interfaces\DatabaseInterface $db \TriTan\Interfaces\Password\PasswordHashInterface $hasher
set() set(string $password, integer $user_id) : mixed Used by PasswordCheck::check() in order to rehash an old password that was hashed using MD5 function. Parameters string $password User password. integer $user_id User ID. Returns mixed