From 7006cfd8f865fd232eddbb544cbfe341f2fd5f06 Mon Sep 17 00:00:00 2001 From: Geoffrey White <40627776+geoffw0@users.noreply.github.com> Date: Tue, 29 Aug 2023 23:00:17 +0100 Subject: [PATCH] Swif: Fix paragraph breaks. --- .../queries/Security/CWE-328/WeakSensitiveDataHashing.qhelp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/swift/ql/src/queries/Security/CWE-328/WeakSensitiveDataHashing.qhelp b/swift/ql/src/queries/Security/CWE-328/WeakSensitiveDataHashing.qhelp index 7e9fe996eeb..0bc3f7493a6 100755 --- a/swift/ql/src/queries/Security/CWE-328/WeakSensitiveDataHashing.qhelp +++ b/swift/ql/src/queries/Security/CWE-328/WeakSensitiveDataHashing.qhelp @@ -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. +

+

In the first case the MD5 hashing algorithm is used that is known to be vulnerable to collision attacks.

-

+

Here is the same function using SHA-512, which is a strong cryptographic hashing function.