Apply suggestions from code review

Co-authored-by: Ben Ahmady <32935794+subatoi@users.noreply.github.com>
This commit is contained in:
Geoffrey White
2024-07-25 15:17:21 +01:00
committed by GitHub
parent c1bd892a13
commit 27314aac16
2 changed files with 2 additions and 2 deletions

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 an 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>

View File

@@ -20,7 +20,7 @@ In the 'GOOD' case, the database (and thus the credentials) are encrypted.</p>
<sample src="CleartextSqliteDatabase.c" />
<p>Note that for the good example to work we need to provide a secret key. Secure key generation and storage is required.</p>
<p>Note that for the 'GOOD' example to work we need to provide a secret key. Secure key generation and storage is required.</p>
</example>
<references>