PHP Trait Cartalyst\Sentinel\Hashing\Hasher

Afficher le fichier Open project: cartalyst/sentinel

Protected Properties

Свойство Type Description
$saltLength integer The salt length.

Méthodes protégées

Méthode Description
createSalt ( ) : string Create a random string for a salt.
slowEquals ( string $a, string $b ) : boolean Compares two strings $a and $b in length-constant time.

Method Details

createSalt() protected méthode

Create a random string for a salt.
protected createSalt ( ) : string
Résultat string

slowEquals() protected méthode

Compares two strings $a and $b in length-constant time.
protected slowEquals ( string $a, string $b ) : boolean
$a string
$b string
Résultat boolean

Property Details

$saltLength protected_oe property

The salt length.
protected int $saltLength
Résultat integer