reference/password/constants.xml
c6532951edb85836f2d49a3c81f8f5e1e41d3554
...
...
@@ -50,6 +50,18 @@
50
50
</itemizedlist>
51
51
</listitem>
52
52
</varlistentry>
53
+
<varlistentry xml:id="constant.password-bcrypt-default-cost">
54
+
<term>
55
+
<constant>PASSWORD_BCRYPT_DEFAULT_COST</constant>
56
+
(<type>int</type>)
57
+
</term>
58
+
<listitem>
59
+
<para>
60
+
</para>
61
+
<para>
62
+
</para>
63
+
</listitem>
64
+
</varlistentry>
53
65
<varlistentry xml:id="constant.password-argon2i">
54
66
<term>
55
67
<constant>PASSWORD_ARGON2I</constant>
...
...
@@ -66,7 +78,7 @@
66
78
<itemizedlist>
67
79
<listitem>
68
80
<para>
69
-
<literal>memory_cost</literal> (<type>int</type>) - Maximum memory (in bytes) that may
81
+
<literal>memory_cost</literal> (<type>int</type>) - Maximum memory (in kibibytes) that may
70
82
be used to compute the Argon2 hash. Defaults to <constant>PASSWORD_ARGON2_DEFAULT_MEMORY_COST</constant>.
71
83
</para>
72
84
</listitem>
...
...
@@ -149,6 +161,19 @@
149
161
</para>
150
162
</listitem>
151
163
</varlistentry>
164
+
<varlistentry xml:id="constant.password-argon2-provider">
165
+
<term>
166
+
<constant>PASSWORD_ARGON2_PROVIDER</constant>
167
+
(<type>string</type>)
168
+
</term>
169
+
<listitem>
170
+
<para>
171
+
</para>
172
+
<para>
173
+
Available as of PHP 7.4.0.
174
+
</para>
175
+
</listitem>
176
+
</varlistentry>
152
177
<varlistentry xml:id="constant.password-default">
153
178
<term>
154
179
<constant>PASSWORD_DEFAULT</constant>
155
180