src/eric7/Documentation/Source/eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.insecureHashlibNew.html

branch
eric7
changeset 10507
d1c6608155ef
parent 10479
856476537696
--- a/src/eric7/Documentation/Source/eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.insecureHashlibNew.html	Tue Jan 16 14:35:46 2024 +0100
+++ b/src/eric7/Documentation/Source/eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.insecureHashlibNew.html	Tue Jan 16 18:24:06 2024 +0100
@@ -25,6 +25,10 @@
 <h3>Functions</h3>
 <table>
 <tr>
+<td><a href="#_cryptCrypt">_cryptCrypt</a></td>
+<td>Function to check for use of insecure md4, md5, sha or sha1 hash functions in crypt.crypt().</td>
+</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>
@@ -44,9 +48,39 @@
 
 <hr />
 <hr />
+<a NAME="_cryptCrypt" ID="_cryptCrypt"></a>
+<h2>_cryptCrypt</h2>
+<b>_cryptCrypt</b>(<i>reportError, context, func, config</i>)
+<p>
+    Function to check for use of insecure md4, md5, sha or sha1 hash functions
+    in crypt.crypt().
+</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="_hashlibFunc" ID="_hashlibFunc"></a>
 <h2>_hashlibFunc</h2>
-<b>_hashlibFunc</b>(<i>reportError, context, config</i>)
+<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'.
@@ -62,6 +96,10 @@
 <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
@@ -72,7 +110,7 @@
 <hr />
 <a NAME="_hashlibNew" ID="_hashlibNew"></a>
 <h2>_hashlibNew</h2>
-<b>_hashlibNew</b>(<i>reportError, context, config</i>)
+<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().
@@ -88,6 +126,10 @@
 <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

eric ide

mercurial