function FakePhpassHashedPassword::enforceLog2Boundaries

Exposes this method as public for tests.

Parameters

int $count_log2: Integer that determines the number of iterations used in the hashing process. A larger value is more secure, but takes more time to complete.

Return value

int Integer within set bounds that is closest to $count_log2.

Overrides PhpassHashedPassword::enforceLog2Boundaries

File

core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php, line 186

Class

FakePhpassHashedPassword
A fake class for tests.

Namespace

Drupal\Tests\Core\Password

Code

public function enforceLog2Boundaries($count_log2) {
  return parent::enforceLog2Boundaries($count_log2);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.