Public Member Functions | Protected Member Functions | Private Attributes

oxPasswordHasher Class Reference

List of all members.

Public Member Functions

 __construct ($oHasher)
 hash ($sPassword, $sSalt)

Protected Member Functions

 _getHasher ()

Private Attributes

 $_ohasher = null

Detailed Description

Hash password together with salt, using set hash algorithm

Definition at line 6 of file oxpasswordhasher.php.


Constructor & Destructor Documentation

oxPasswordHasher.__construct ( oHasher  ) 

Sets dependencies.

Parameters:
oxHasher $oHasher hasher.

Definition at line 29 of file oxpasswordhasher.php.


Member Function Documentation

oxPasswordHasher._getHasher (  )  [protected]

Gets hasher.

Returns:
oxHasher

Definition at line 19 of file oxpasswordhasher.php.

oxPasswordHasher.hash ( sPassword,
sSalt 
)

Hash password with a salt.

Parameters:
string $sPassword not hashed password.
string $sSalt salt string.
Returns:
string

Definition at line 42 of file oxpasswordhasher.php.


Member Data Documentation

oxPasswordHasher.$_ohasher = null [private]

Definition at line 12 of file oxpasswordhasher.php.


The documentation for this class was generated from the following file: