Hi,
I'm trying to generate a salted MD5 password in a eID script and doing
something wrong :-(.
When I call the getHashedPassword() Method 3 times in a row I get 3 different
results and none of them matches the hash in the DB.
protected function saltPassword ( $password ) {
$sa
Hi Marc,
Try:
$objSalt=
tx_saltedpasswords_salts_factory::getSaltingInstance($non_salted);
$validPasswd= $objSalt->checkPassword($salted,$non_salted);
Richard
On 9 April 2014 03:57, Marc Klein wrote:
>
> Hi,
>
> I'm trying to generate a salted MD5 password in a eID script
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Marc,
> When I call the getHashedPassword() Method 3 times in a row I get
> 3 different results and none of them matches the hash in the DB.
Nope, that's correct. That's exactly the idea of salting a password.
The salt is that part of uncertainty