PHP Class Horde_Crypt_Blowfish_Pbkdf2, horde

pbkdf2 code released to the public domain.
Author: Michael Slusarz ([email protected])
Afficher le fichier Open project: horde/horde

Méthodes publiques

Свойство Type Description
$hashAlgo string Hash algorithm used to create key.
$iterations integer Number of iterations to use.
$salt string Salt.

Protected Properties

Свойство Type Description
$_key string The derived key.

Méthodes publiques

Méthode Description
__construct ( string $pass, string $key_length, array $opts = [] ) Constructor.
__toString ( )

Method Details

__construct() public méthode

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 méthode

public __toString ( )

Property Details

$_key protected_oe property

The derived key.
protected string $_key
Résultat string

$hashAlgo public_oe property

Hash algorithm used to create key.
public string $hashAlgo
Résultat string

$iterations public_oe property

Number of iterations to use.
public int $iterations
Résultat integer

$salt public_oe property

Salt.
public string $salt
Résultat string