--- a/src/eric7/Documentation/Source/eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.hashlibInsecureFunctions.html Sun Feb 16 15:05:39 2025 +0100 +++ b/src/eric7/Documentation/Source/eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.hashlibInsecureFunctions.html Sun Feb 16 15:06:29 2025 +0100 @@ -1,15 +1,15 @@ <!DOCTYPE html> <html><head> -<title>eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.insecureHashlibNew</title> +<title>eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.hashlibInsecureFunctions</title> <meta charset="UTF-8"> <link rel="stylesheet" href="styles.css"> </head> <body> <a NAME="top" ID="top"></a> -<h1>eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.insecureHashlibNew</h1> +<h1>eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.hashlibInsecureFunctions</h1> <p> Module implementing a check for use of insecure md4, md5, or sha1 hash -functions in hashlib.new(). +functions in hashlib. </p> <h3>Global Attributes</h3> @@ -30,11 +30,7 @@ </tr> <tr> <td><a href="#_hashlibFunc">_hashlibFunc</a></td> -<td>Function to check for use of insecure md4, md5, sha or sha1 hash functions in hashlib.new() if 'usedforsecurity' is not set to 'False'.</td> -</tr> -<tr> -<td><a href="#_hashlibNew">_hashlibNew</a></td> -<td>Function to check for use of insecure md4, md5, sha or sha1 hash functions in hashlib.new().</td> +<td>Function to check for use of insecure md4, md5, or sha1 hash functions in hashlib if 'usedforsecurity' is not set to 'False'.</td> </tr> <tr> <td><a href="#checkHashlib">checkHashlib</a></td> @@ -82,38 +78,8 @@ <h2>_hashlibFunc</h2> <b>_hashlibFunc</b>(<i>reportError, context, func, config</i>) <p> - Function to check for use of insecure md4, md5, sha or sha1 hash functions - in hashlib.new() if 'usedforsecurity' is not set to 'False'. -</p> - -<dl> - -<dt><i>reportError</i> (func)</dt> -<dd> -function to be used to report errors -</dd> -<dt><i>context</i> (SecurityContext)</dt> -<dd> -security context object -</dd> -<dt><i>func</i> (str)</dt> -<dd> -name of the hash function -</dd> -<dt><i>config</i> (dict)</dt> -<dd> -dictionary with configuration data -</dd> -</dl> -<div align="right"><a href="#top">Up</a></div> -<hr /> -<hr /> -<a NAME="_hashlibNew" ID="_hashlibNew"></a> -<h2>_hashlibNew</h2> -<b>_hashlibNew</b>(<i>reportError, context, func, config</i>) -<p> - Function to check for use of insecure md4, md5, sha or sha1 hash functions - in hashlib.new(). + Function to check for use of insecure md4, md5, or sha1 hash functions + in hashlib if 'usedforsecurity' is not set to 'False'. </p> <dl>