src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/insecureHashlibNew.py

branch
eric7
changeset 9473
3f23dbf37dbe
parent 9325
8157eb19aba5
child 9653
e67609152c5e
equal deleted inserted replaced
9472:5798ee4a8807 9473:3f23dbf37dbe
8 functions in hashlib.new(). 8 functions in hashlib.new().
9 """ 9 """
10 10
11 import sys 11 import sys
12 12
13 from Security.SecurityDefaults import SecurityDefaults
14
13 # 15 #
14 # This is a modified version of the one found in the bandit package. 16 # This is a modified version of the one found in the bandit package.
15 # 17 #
16 # Original Copyright 2014 Hewlett-Packard Development Company, L.P. 18 # Original Copyright 2014 Hewlett-Packard Development Company, L.P.
17 # 19 #
18 # SPDX-License-Identifier: Apache-2.0 20 # SPDX-License-Identifier: Apache-2.0
19 # 21 #
20
21 from Security.SecurityDefaults import SecurityDefaults
22 22
23 23
24 def getChecks(): 24 def getChecks():
25 """ 25 """
26 Public method to get a dictionary with checks handled by this module. 26 Public method to get a dictionary with checks handled by this module.

eric ide

mercurial