xref: /PHP-8.4/ext/standard/password.stub.php (revision 20c49f85)
1<?php
2
3/** @generate-class-entries */
4
5/**
6 * @var string
7 */
8const PASSWORD_DEFAULT = "2y";
9/**
10 * @var string
11 */
12const PASSWORD_BCRYPT = "2y";
13/**
14 * @var int
15 * @cvalue PHP_PASSWORD_BCRYPT_COST
16 */
17const PASSWORD_BCRYPT_DEFAULT_COST = UNKNOWN;
18
19#ifdef HAVE_ARGON2LIB
20/**
21 * @var string
22 */
23const PASSWORD_ARGON2I = "argon2i";
24/**
25 * @var string
26 */
27const PASSWORD_ARGON2ID = "argon2id";
28/**
29 * @var string
30 */
31const PASSWORD_ARGON2_PROVIDER = "standard";
32/**
33 * @var int
34 * @cvalue PHP_PASSWORD_ARGON2_MEMORY_COST
35 */
36const PASSWORD_ARGON2_DEFAULT_MEMORY_COST = UNKNOWN;
37/**
38 * @var int
39 * @cvalue PHP_PASSWORD_ARGON2_TIME_COST
40 */
41const PASSWORD_ARGON2_DEFAULT_TIME_COST = UNKNOWN;
42/**
43 * @var int
44 * @cvalue PHP_PASSWORD_ARGON2_THREADS
45 */
46const PASSWORD_ARGON2_DEFAULT_THREADS = UNKNOWN;
47#endif
48