PHP Класс Redaxscript\Hash

С версии: 2.6.0
Автор: Henry Ruhs
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$_config object instance of the config class
$_hash string salted hash
$_raw string plain raw

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

Метод Описание
__construct ( Config $config ) constructor of the class
getHash ( ) get the hash
getRaw ( ) get the raw
init ( string $raw = null ) init the class
validate ( string $raw = null, string $hash = null ) : boolean validate raw again hash

Защищенные методы

Метод Описание
_create ( ) create a salted hash

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

__construct() публичный Метод

constructor of the class
С версии: 2.6.0
public __construct ( Config $config )
$config Config instance of the config class

_create() защищенный Метод

create a salted hash
С версии: 2.6.0
protected _create ( )

getHash() публичный Метод

get the hash
С версии: 2.6.0
public getHash ( )

getRaw() публичный Метод

get the raw
С версии: 2.6.0
public getRaw ( )

init() публичный Метод

init the class
С версии: 2.6.0
public init ( string $raw = null )
$raw string plain raw

validate() публичный Метод

validate raw again hash
С версии: 2.6.0
public validate ( string $raw = null, string $hash = null ) : boolean
$raw string plain raw
$hash string salted hash
Результат boolean

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

$_config защищенное статическое свойство

instance of the config class
protected static object $_config
Результат object

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

salted hash
protected string $_hash
Результат string

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

plain raw
protected string $_raw
Результат string