Pattern: Use of non-cryptographic hash
Issue: -
Detects usage of non-cryptographic hashes. The hash_hmac()
, hash_hmac_file()
, hash_pbkdf2()
, and hash_init()
(with HASH_HMAC
) functions no longer accept non-cryptographic hashes.
PHP version 7.2