mirror of
https://github.com/github/codeql.git
synced 2026-03-05 23:26:51 +01:00
Swif: Fix paragraph breaks.
This commit is contained in:
@@ -62,12 +62,14 @@
|
||||
The following examples show a function for fetching data from a
|
||||
URL along with a hash of the data, perhaps to check the data has
|
||||
not been tampered with.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
In the first case the MD5 hashing algorithm is used that is known to be vulnerable to collision attacks.
|
||||
</p>
|
||||
<sample src="WeakSensitiveDataHashingBad.swift"/>
|
||||
<p>
|
||||
|
||||
<p>
|
||||
Here is the same function using SHA-512, which is a strong cryptographic hashing function.
|
||||
</p>
|
||||
<sample src="WeakSensitiveDataHashingGood.swift"/>
|
||||
|
||||
Reference in New Issue
Block a user