Class Bcrypt
Classe implémentant l'algorithm bcrypt pour le cryptage de mot de passe.
$bcrypt = new Bcrypt(11); $hash = $bcrypt->hash('mypass'); var_dump($bcrypt->check('mypass',$hash);
Namespace: Pry\Auth
Package: Auth
Author: Olivier ROGER <oroger.fr>
Version: 1.0
See: http://en.wikipedia.org/wiki/Bcrypt
See: http://stackoverflow.com/questions/4795385/how-do-you-use-bcrypt-for-hashing-passwords-in-php
Located at Auth/Bcrypt.class.php
Package: Auth
Author: Olivier ROGER <oroger.fr>
Version: 1.0
See: http://en.wikipedia.org/wiki/Bcrypt
See: http://stackoverflow.com/questions/4795385/how-do-you-use-bcrypt-for-hashing-passwords-in-php
Located at Auth/Bcrypt.class.php
public
|
|
public
string
|
|
public static
boolean
|
string |
SALTBASE
|
'$2a$' |
#
Base du grain de sel blowfish |