mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 08:28:54 +00:00
Argon2's memory_cost is in kilobytes, not bytes
https://www.php.net/password-hash says "kibibytes", spec https://www.password-hashing.net/argon2-specs.pdf says "kilobytes", went with "kibibytes" to match the other docs page. Closes GH-1596.
This commit is contained in:
parent
0780c13160
commit
6be77ad626
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@
|
|||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>
|
||||
<literal>memory_cost</literal> (<type>int</type>) - Maximum memory (in bytes) that may
|
||||
<literal>memory_cost</literal> (<type>int</type>) - Maximum memory (in kibibytes) that may
|
||||
be used to compute the Argon2 hash. Defaults to <constant>PASSWORD_ARGON2_DEFAULT_MEMORY_COST</constant>.
|
||||
</para>
|
||||
</listitem>
|
||||
|
|
Loading…
Reference in a new issue