File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
python/ql/test/experimental/library-tests/frameworks/stdlib Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 5
5
print (hasher .hexdigest ())
6
6
7
7
8
+ hasher = hashlib .md5 (string = b"secret message" ) # $ MISSING: CryptographicOperation CryptographicOperationInput=b"secret message" CryptographicOperationAlgorithm=MD5
9
+ print (hasher .hexdigest ())
10
+
11
+
8
12
hasher = hashlib .md5 ()
9
13
hasher .update (b"secret" ) # $ MISSING: CryptographicOperation CryptographicOperationInput=b"secret" CryptographicOperationAlgorithm=MD5
10
14
hasher .update (b" message" ) # $ MISSING: CryptographicOperation CryptographicOperationInput=b" message" CryptographicOperationAlgorithm=MD5
15
19
print (hasher .hexdigest ())
16
20
17
21
22
+ hasher = hashlib .new ('md5' , data = b"secret message" ) # $ MISSING: CryptographicOperation CryptographicOperationInput=b"secret message" CryptographicOperationAlgorithm=MD5
23
+ print (hasher .hexdigest ())
24
+
25
+
18
26
hasher = hashlib .new ('md5' )
19
27
hasher .update (b"secret" ) # $ MISSING: CryptographicOperation CryptographicOperationInput=b"secret" CryptographicOperationAlgorithm=MD5
20
28
hasher .update (b" message" ) # $ MISSING: CryptographicOperation CryptographicOperationInput=b" message" CryptographicOperationAlgorithm=MD5
You can’t perform that action at this time.
0 commit comments