Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

openssl_pbkdf2(): Drop obsolete/misleading NIST recommendation note about iterations - #6098

Merged
jordikroon merged 2 commits into
php:masterfrom
narfbg:openssl_pbkdf2_nistnote
Nov 16, 2026
Merged

jordikroon merged 2 commits into
php:masterfrom
narfbg:openssl_pbkdf2_nistnote

Conversation

@narfbg

@narfbg narfbg commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

It's a bit odd to have even the OWASP recommendation here too, but at least that one is ok.

…bout iterations

It's not even true. 1000 was the absolute floor intended for things like embedded devices, not a recommendation.
@narfbg
narfbg force-pushed the openssl_pbkdf2_nistnote branch from 1aee0e3 to a948ce9 Compare November 16, 2026 21:57
recommends at least 1,000</link>. As of 2023, OWASP recommends 600,000 iterations for
PBKDF2-HMAC-SHA256 and 210,000 for PBKDF2-HMAC-SHA512.
</para>
As of 2026, OWASP recommends 600,000 iterations for HMAC-SHA256 and 210,000 for HMAC-SHA512.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jordikroon
jordikroon merged commit 8289880 into php:master Nov 16, 2026
3 checks passed
@jordikroon

Copy link
Copy Markdown
Member

Thanks!

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.

2 participants