Méthode |
Description |
|
__construct ( integer $bits = 512, integer $rounds = 5000 ) : self |
Constructor |
|
create ( string $string ) : string |
Method to create the hashed value |
|
getBits ( ) : integer |
Method to get the bits |
|
getRounds ( ) : integer |
Method to get the rounds |
|
getSalt ( ) : string |
Method to get the salt |
|
setBits ( integer $bits = 512 ) : self |
Method to set the cost |
|
setRounds ( integer $rounds = 5000 ) : self |
Method to set the rounds |
|
setSalt ( string $salt = null ) : self |
Method to set the salt |
|
verify ( string $string, string $hash ) : boolean |
Method to verify the hashed value |
|