vBulletin 5.6.5 API

vB_Utility_Password_Algorithm_Blowfish extends vB_Utility_Password_Algorithm
in package

Table of Contents

$cost  : mixed
__serialize()  : mixed
__sleep()  : mixed
__unserialize()  : mixed
__wakeup()  : mixed
generateToken()  : mixed
Hash the password according to the password algorithm
instance()  : object
Create an password algorithm object for the given scheme.
requireRehash()  : mixed
Check if the token requires a rehash.
verifyPassword()  : bool
Hash the password according to the password algorithm
__construct()  : mixed

Properties

Methods

__serialize()

public __serialize() : mixed
Return values
mixed

__sleep()

public __sleep() : mixed
Return values
mixed

__unserialize()

public __unserialize(mixed $serialized) : mixed
Parameters
$serialized : mixed
Return values
mixed

__wakeup()

public __wakeup() : mixed
Return values
mixed

generateToken()

Hash the password according to the password algorithm

public generateToken(mixed $password) : mixed
Parameters
$password : mixed

-- The password to encode. It should already have any front end encoding applied.

Return values
mixed

instance()

Create an password algorithm object for the given scheme.

public static instance(string $scheme) : object
Parameters
$scheme : string

-- the requested password scheme (algorithm + any parameters the argorithm expects such as repetitions.

Tags
throws
vB_Password_Exception_InvalidScheme
Return values
object

An object of type vB_Password_Algorithm

requireRehash()

Check if the token requires a rehash.

public requireRehash(mixed $token) : mixed

This can happen if a scheme uses default options that have been changed.

Parameters
$token : mixed
Return values
mixed

verifyPassword()

Hash the password according to the password algorithm

public verifyPassword(mixed $password, mixed $token) : bool
Parameters
$password : mixed

-- The password to verify. It should already have any front end encoding applied.

$token : mixed
Return values
bool

__construct()

protected __construct(mixed $scheme) : mixed
Parameters
$scheme : mixed
Return values
mixed

Search results