OXID eShop CE  4.8.10
 All Classes Files Functions Variables Pages
oxPasswordHasher Class Reference

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)
Parameters
oxHasher$oHasherhasher.

Definition at line 24 of file oxpasswordhasher.php.

Member Function Documentation

oxPasswordHasher::_getHasher ( )
protected
Returns
oxHasher

Definition at line 16 of file oxpasswordhasher.php.

oxPasswordHasher::hash (   $sPassword,
  $sSalt 
)

Hash password with a salt.

Parameters
string$sPasswordnot hashed password.
string$sSaltsalt string.
Returns
string

Definition at line 37 of file oxpasswordhasher.php.

Member Data Documentation

oxPasswordHasher::$_ohasher = null
private

Definition at line 11 of file oxpasswordhasher.php.


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