Verzeichnisstruktur phpBB-3.3.15
- Veröffentlicht
- 28.08.2024
So funktioniert es
|
Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück |
Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis. |
|
(Beispiel Datei-Icons)
|
Auf das Icon klicken um den Quellcode anzuzeigen |
bcrypt_2y.php
01 <?php
02 /**
03 *
04 * This file is part of the phpBB Forum Software package.
05 *
06 * @copyright (c) phpBB Limited <https://www.phpbb.com>
07 * @license GNU General Public License, version 2 (GPL-2.0)
08 *
09 * For full copyright and license information, please see
10 * the docs/CREDITS.txt file.
11 *
12 */
13
14 namespace phpbb\passwords\driver;
15
16 class bcrypt_2y extends bcrypt
17 {
18 const PREFIX = '$2y$';
19
20 /**
21 * {@inheritdoc}
22 */
23 public function get_prefix()
24 {
25 return self::PREFIX;
26 }
27
28 /**
29 * {@inheritdoc}
30 */
31 public function is_supported()
32 {
33 return (version_compare(PHP_VERSION, '5.3.7', '<')) ? false : true;
34 }
35 }
36