| 1 | <?php |
||
| 20 | class Typo3 implements \Aimeos\MShop\Common\Helper\Password\Iface |
||
| 21 | { |
||
| 22 | private $hasher; |
||
| 23 | |||
| 24 | |||
| 25 | /** |
||
| 26 | * Initializes the password helper. |
||
| 27 | * |
||
| 28 | * @param array Associative list of key/value pairs of options specific for the hashing method |
||
| 29 | */ |
||
| 30 | public function __construct( array $options ) |
||
| 38 | |||
| 39 | |||
| 40 | /** |
||
| 41 | * Returns the hashed password. |
||
| 42 | * |
||
| 43 | * @param string $password Clear text password string |
||
| 44 | * @param string|null $salt Password salt |
||
| 45 | * @return string Hashed password |
||
| 46 | */ |
||
| 47 | public function encode( $password, $salt = null ) |
||
| 51 | } |
||
| 52 |