Méthode |
Description |
|
__clone ( ) |
Prevent cloning of the object (Singleton) |
|
decrypt ( mixed $varValue, string $strKey = null ) : string |
Decrypt a value |
|
encrypt ( mixed $varValue, string $strKey = null ) : string |
Encrypt a value |
|
getInstance ( ) : Encryption |
Return the object instance (Singleton) |
|
hash ( string $strPassword ) : string |
Generate a password hash |
|
test ( string $strHash ) : boolean |
Test whether a password hash has been generated with crypt() |
|
verify ( string $strPassword, string $strHash ) : boolean |
Verify a readable password against a password hash |
|