OXID eShop CE
4.8.10
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Pages
oxpasswordhasher.php
Go to the documentation of this file.
1
<?php
2
6
class
oxPasswordHasher
7
{
11
private
$_ohasher
= null;
12
16
protected
function
_getHasher
()
17
{
18
return
$this->_ohasher
;
19
}
20
24
public
function
__construct
($oHasher)
25
{
26
$this->_ohasher = $oHasher;
27
}
28
37
public
function
hash
($sPassword, $sSalt)
38
{
39
return
$this->
_getHasher
()->hash($sPassword . $sSalt);
40
}
41
}
core
oxpasswordhasher.php
Generated by
1.8.1.2