File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -235,6 +235,8 @@ PHP NEWS
235
235
. Fixed bug #73961 (environmental build dependency in hash sha3 source).
236
236
(krakjoe)
237
237
. Changed HashContext from resource to object. (Rouven Weßling, Sara)
238
+ . Disallowed usage of non-cryptographic hash functions with HMAC and PBKDF2.
239
+ (Andrey Andreev, Nikita)
238
240
239
241
- intl:
240
242
. Fixed bug #74433 (wrong reflection for Normalizer methods). (villfa)
Original file line number Diff line number Diff line change @@ -49,8 +49,8 @@ PHP 7.2 UPGRADE NOTES
49
49
example `bcmod('4', '3.5')` now returns '0.5' instead of '1'.
50
50
51
51
- Hash:
52
- . The hash_hmac(), hash_hmac_file() and hash_pbkdf2() functions no longer
53
- accept non-cryptographic hashes.
52
+ . The hash_hmac(), hash_hmac_file(), hash_pbkdf2() and hash_init() (with
53
+ HASH_HMAC) functions no longer accept non-cryptographic hashes.
54
54
55
55
- JSON
56
56
. The json_decode() option JSON_OBJECT_AS_ARRAY is used if the second
You can’t perform that action at this time.
0 commit comments