OXID eShop CE  4.9.6
 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)

Sets dependencies.

Parameters
oxHasher$oHasherhasher.

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$sPasswordnot hashed password.
string$sSaltsalt 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: