Skip to content

Commit

Permalink
[PR #6691/89ad18d1 backport][stable-6] random_string docs to say it's…
Browse files Browse the repository at this point in the history
… cryptographically secure (#6815)

random_string docs to say it's cryptographically secure (#6691)

Modify random_string docs to state that randomness is cryptographically secure

(cherry picked from commit 89ad18d)

Co-authored-by: Matthew Davis <7035647+mdavis-xyz@users.noreply.github.com>
  • Loading branch information
patchback[bot] and mdavis-xyz authored Jun 30, 2023
1 parent 2d92ab9 commit 8cf2358
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/lookup/random_string.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
version_added: '3.2.0'
description:
- Generates random string based upon the given constraints.
- Uses L(random.SystemRandom,https://docs.python.org/3/library/random.html#random.SystemRandom),
so should be strong enough for cryptographic purposes.
options:
length:
description: The length of the string.
Expand Down

0 comments on commit 8cf2358

Please sign in to comment.