CodeQL library for C/C++
codeql/cpp-all 0.12.10 (changelog, source)
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()