Skip to content

Commit 0440cff

Browse files
Update docs/Secure-Coding-Guide-for-Python/CWE-693/CWE-330/README.md
Co-authored-by: myteron <[email protected]> Signed-off-by: BartyBoi1128 <[email protected]>
1 parent 2eb232f commit 0440cff

File tree

1 file changed

+2
-1
lines changed
  • docs/Secure-Coding-Guide-for-Python/CWE-693/CWE-330

1 file changed

+2
-1
lines changed

docs/Secure-Coding-Guide-for-Python/CWE-693/CWE-330/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ Python's random module is a standard library module that provides functions to g
1111

1212
Therefore, the random module is unsuitable for applications requiring high security as it does not incorporate cryptographic randomness, which means it is not resistant to reverse engineering. Its limited entropy makes it easier for attackers to deduce the internal state of the generator and predict future outputs.
1313

14-
Instead, for generating random numbers, it is recommended to use a more robust option, like Python's secrets module.
14+
Instead, for generating random numbers, it is recommended to use a more robust option, such as Python's `secrets` module.
15+
1516

1617
## Non-compliant Code Example
1718

0 commit comments

Comments
 (0)