mirror of
https://github.com/github/codeql.git
synced 2026-01-13 14:34:45 +01:00
Merge pull request #11805 from geoffw0/references
Swift: Add a reference for swift/hardcoded-key.
This commit is contained in:
@@ -14,4 +14,8 @@
|
||||
<p>The following example shows a few cases of instantiating a cipher with various encryption keys. In the 'BAD' cases, the key material is hardcoded, making the encrypted data vulnerable to recovery. In the 'GOOD' cases, the key material is randomly generated and not hardcoded, which protects the encrypted data against recovery.</p>
|
||||
<sample src="HardcodedEncryptionKey.swift" />
|
||||
</example>
|
||||
|
||||
<references>
|
||||
<li>OWASP: <a href="https://cheatsheetseries.owasp.org/cheatsheets/Key_Management_Cheat_Sheet.html">Key Management Cheat Sheet</a></li>
|
||||
</references>
|
||||
</qhelp>
|
||||
|
||||
Reference in New Issue
Block a user