File tree Expand file tree Collapse file tree 1 file changed +10
-16
lines changed Expand file tree Collapse file tree 1 file changed +10
-16
lines changed Original file line number Diff line number Diff line change 177177 <varlistentry xml : id =" constant.password-default" >
178178 <term >
179179 <constant >PASSWORD_DEFAULT</constant >
180- (<type >mixed </type >)
180+ (<type >string </type >)
181181 </term >
182182 <listitem >
183183 <para >
186186 algorithms are supported.
187187 </para >
188188 <para >
189- It is worth noting that over time this constant can (and likely will)
190- change. Therefore you should be aware that the length of the resulting
191- hash can change. Therefore, if you use <constant >PASSWORD_DEFAULT</constant >
192- you should store the resulting hash in a way that can store more than 60
193- characters (255 is the recommended width).
194- </para >
195- <para >
196- Values for this constant:
189+ It is worth noting that over time this constant can change.
190+ It is thus important to be aware that the length of the resulting
191+ hash can change.
192+ Therefore, when using <constant >PASSWORD_DEFAULT</constant > the resulting
193+ hash must be stored in a way that can store arbitrary hashes,
194+ the recommended width is <literal >255</literal > bytes.
197195 </para >
198- <itemizedlist >
199- <listitem >
200- <simpara >
201- PHP 5.5.0 - <constant >PASSWORD_BCRYPT</constant >
202- </simpara >
203- </listitem >
204- </itemizedlist >
196+ <simpara >
197+ Currently is an alias for <constant >PASSWORD_BCRYPT</constant >.
198+ </simpara >
205199 </listitem >
206200 </varlistentry >
207201 </variablelist >
You can’t perform that action at this time.
0 commit comments