PHP Класс Horde_Crypt_Blowfish_Pbkdf2, horde

pbkdf2 code released to the public domain.
Автор: Michael Slusarz ([email protected])
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$hashAlgo string Hash algorithm used to create key.
$iterations integer Number of iterations to use.
$salt string Salt.

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

Свойство Тип Описание
$_key string The derived key.

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

Метод Описание
__construct ( string $pass, string $key_length, array $opts = [] ) Constructor.
__toString ( )

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

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

Constructor.
public __construct ( string $pass, string $key_length, array $opts = [] )
$pass string The password.
$key_length string Length of the derived key (in bytes).
$opts array Additional options: - algo: (string) Hash algorithm. - i_count: (integer) Iteration count. - salt: (string) The salt to use.

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

public __toString ( )

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

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

The derived key.
protected string $_key
Результат string

$hashAlgo публичное свойство

Hash algorithm used to create key.
public string $hashAlgo
Результат string

$iterations публичное свойство

Number of iterations to use.
public int $iterations
Результат integer

$salt публичное свойство

Salt.
public string $salt
Результат string