PHP Класс App\Hashing\OsuHasher

Наследование: implements Illuminate\Contracts\Hashing\Hasher
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$rounds integer The number of rounds to hash, as 2^n.

Открытые методы

Метод Описание
check ( string $value, string $hashedValue, array $options = [] ) : boolean Check the given plain value against a hash.
make ( string $value, array $options = [] ) : string Hash the given value.
needsRehash ( string $hashedValue, array $options = [] ) : boolean Check if the given hash has been hashed using the given options.

Описание методов

check() публичный метод

Check the given plain value against a hash.
public check ( string $value, string $hashedValue, array $options = [] ) : boolean
$value string
$hashedValue string
$options array
Результат boolean

make() публичный метод

Hash the given value.
public make ( string $value, array $options = [] ) : string
$value string
$options array
Результат string

needsRehash() публичный метод

Check if the given hash has been hashed using the given options.
public needsRehash ( string $hashedValue, array $options = [] ) : boolean
$hashedValue string
$options array
Результат boolean

Описание свойств

$rounds защищенное свойство

The number of rounds to hash, as 2^n.
protected int $rounds
Результат integer