Class icms_core_Password
Password generation and validation
Final
Package: Core\Password
Category: ICMS
Copyright: (c) 2007-2010 The ImpressCMS Project - www.impresscms.org
License: GNU General Public License (GPL)
Author: vaughan montgomery (vaughan@impresscms.org)
Author: ImpressCMS Project
Located at core/Password.php
Package: Core\Password
Category: ICMS
Copyright: (c) 2007-2010 The ImpressCMS Project - www.impresscms.org
License: GNU General Public License (GPL)
Author: vaughan montgomery (vaughan@impresscms.org)
Author: ImpressCMS Project
Located at core/Password.php
public
|
|
public static
object
|
|
public static
string
|
#
createSalt( string $slength = 64 )
This Function creates a unique random Salt Key for use with password encryptions It can also be used to generate a random AlphaNumeric key sequence of any given length. |
public
string
|
#
createCryptoKey( string $slength = 64 )
This Function creates a unique Crypto Generated Key for use with password encryptions This functions falls back to standard function createSalt() if PHP < 5.3 |
public
boolean
|
#
passExpired( string $uname = '' )
This Public Function checks whether a users password has been expired |
public
string
|
#
getUserSalt( string $uname = '' )
This Public Function returns the User Salt key belonging to username. |
public
string
|
#
getUserEncType( string $uname = '' )
This Public Function returns the User Encryption Type belonging to username. |
public
Hash
|
|
public
mixed
|
#
verifyPass( string $pass = '', string $uname = '' )
This Public Function verifies if the users password is correct. |