Argon2 の memory_cost と time_cost の単位の説明を原文に追従 - #497
Merged
Merged
Conversation
php/doc-en@6cc48aed6f (php/doc-en#5219) に追従します。 time_cost を「計算にかけてよい時間の最大値」としていた誤りが修正されて反復回数 (パス数) になり、PASSWORD_ARGON2_DEFAULT_MEMORY_COST の単位がキビバイトであることが 明示され、PASSWORD_BCRYPT_DEFAULT_COST に説明が追加されました。 ## 対象ファイル (2件) - reference/password/constants.xml - reference/password/functions/password-hash.xml
KentarouTakeda
force-pushed
the
sync-argon2-cost-units
branch
from
September 20, 2026 05:09
6fd25eb to
c33a166
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
php/doc-en@6cc48aed6f (php/doc-en#5219) に追従します。
time_cost を計算にかけてよい時間の上限としていた誤りを修正し、反復回数 (パス数) であることを
明記しました。あわせて PASSWORD_ARGON2_DEFAULT_MEMORY_COST にメモリの単位を、
PASSWORD_BCRYPT_DEFAULT_COST に説明を追加しています。
対象ファイル (2件)