Skip to content

Commit 7006cfd

Browse files
committed
Swif: Fix paragraph breaks.
1 parent 94a5aa4 commit 7006cfd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

swift/ql/src/queries/Security/CWE-328/WeakSensitiveDataHashing.qhelp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,14 @@
6262
The following examples show a function for fetching data from a
6363
URL along with a hash of the data, perhaps to check the data has
6464
not been tampered with.
65+
</p>
6566

67+
<p>
6668
In the first case the MD5 hashing algorithm is used that is known to be vulnerable to collision attacks.
6769
</p>
6870
<sample src="WeakSensitiveDataHashingBad.swift"/>
69-
<p>
7071

72+
<p>
7173
Here is the same function using SHA-512, which is a strong cryptographic hashing function.
7274
</p>
7375
<sample src="WeakSensitiveDataHashingGood.swift"/>

0 commit comments

Comments
 (0)