Skip to content

Clarify Argon2 memory_cost and time_cost units in password_hash()#5219

Open
lacatoire wants to merge 2 commits intophp:masterfrom
lacatoire:clarify_argon2_memory_cost
Open

Clarify Argon2 memory_cost and time_cost units in password_hash()#5219
lacatoire wants to merge 2 commits intophp:masterfrom
lacatoire:clarify_argon2_memory_cost

Conversation

@lacatoire
Copy link
Contributor

@lacatoire lacatoire commented Jan 29, 2026

Clarifies Argon2 option semantics: memory_cost is expressed in KiB and time_cost represents the number of iterations, not a duration.

Fixes #4577

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Docs] Improve password_hash() documentation, specifically about Argon2

1 participant