We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94a5aa4 commit 7006cfdCopy full SHA for 7006cfd
swift/ql/src/queries/Security/CWE-328/WeakSensitiveDataHashing.qhelp
@@ -62,12 +62,14 @@
62
The following examples show a function for fetching data from a
63
URL along with a hash of the data, perhaps to check the data has
64
not been tampered with.
65
+ </p>
66
67
+ <p>
68
In the first case the MD5 hashing algorithm is used that is known to be vulnerable to collision attacks.
69
</p>
70
<sample src="WeakSensitiveDataHashingBad.swift"/>
- <p>
71
72
73
Here is the same function using SHA-512, which is a strong cryptographic hashing function.
74
75
<sample src="WeakSensitiveDataHashingGood.swift"/>
0 commit comments