hash = str_repeat( 'a', 36 ); } /** * Hashes a password. * * @param string $password Password to hash. * @return string Hashed password. */ public function HashPassword( string $password ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid return $this->hash; } /** * Checks the password hash. * * @param string $password Password to check. * @param string $hash Hash to check against. * @return bool Whether the password hash is valid. */ public function CheckPassword( string $password, string $hash ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid return $hash === $this->hash; } }