CodeQL library for C/C++
Search

Predicate getAnInsecureHashAlgorithmName

Gets the name of a hash algorithm that is insecure if it is being used for encryption (but it is hard to know when that is happening).

Import path

import semmle.code.cpp.security.Encryption
string getAnInsecureHashAlgorithmName()