OXID eShop CE
4.10.4
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Pages
oxpasswordhasher.php
Go to the documentation of this file.
1
<?php
2
6
class
oxPasswordHasher
7
{
8
12
private
$_ohasher
= null;
13
19
protected
function
_getHasher
()
20
{
21
return
$this->_ohasher
;
22
}
23
29
public
function
__construct
($oHasher)
30
{
31
$this->_ohasher = $oHasher;
32
}
33
42
public
function
hash
($sPassword, $sSalt)
43
{
44
return
$this->
_getHasher
()->hash($sPassword . $sSalt);
45
}
46
}
core
oxpasswordhasher.php
Generated by
1.8.1.2