Update cpp/ql/src/Security/CWE/CWE-311/CleartextStorage.inc.qhelp

Co-authored-by: Mathias Vorreiter Pedersen <mathiasvp@github.com>
This commit is contained in:
Geoffrey White
2024-07-23 13:14:07 +01:00
committed by GitHub
parent b00e312569
commit c1bd892a13

View File

@@ -24,7 +24,7 @@ storing them.</p>
<sample src="CleartextStorage.c" />
<p>Note that for the good example to work we need to link against the encryption library (in this case libsodium),
<p>Note that for the good example to work we need to link against an encryption library (in this case libsodium),
initialize it with a call to <code>sodium_init</code>, and create the key and nonce with
<code>crypto_secretbox_keygen</code> and <code>randombytes_buf</code> respectively. We also need to store those
details securely so they can be used for decryption.</p>