[ Index ] |
|
Code source de CakePHP 1.1.13.4450 |
[Code source] [Imprimer] [Statistiques]
Security Class This class is a singleton class that contains functions for hasing and security.
Copyright: | Copyright 2005-2007, Cake Software Foundation, Inc. |
License: | http://www.opensource.org/licenses/mit-license.php The MIT License |
Version: | $Revision: 4409 $ |
Poids: | 151 lignes (3 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
Security:: (6 méthodes):
getInstance()
inactiveMins()
generateAuthKey()
validateAuthKey()
hash()
cipher()
getInstance() X-Ref |
Singleton method to retrieve the instance of the Security class return: object Security |
inactiveMins() X-Ref |
Returns inactive minutes constant based on cake the security level return: integer |
generateAuthKey() X-Ref |
Generates a unique authkey return: mixed |
validateAuthKey($authKey) X-Ref |
Validates the authkey param: mixed $authKey return: boolean |
hash($string, $type = 'sha1') X-Ref |
Generates a hash of a string using a php built in hashing function param: string $string The string to be hashed param: string $type The hashing algorithm return: string |
cipher($text, $key) X-Ref |
Function that ciphers a text using a key param: string $text param: string $key return: string |
Généré le : Sun Feb 25 19:27:47 2007 | par Balluche grâce à PHPXref 0.7 |