Skip to content

fix: use rand_chacha for random string generation#777

Merged
flemingcaleb merged 4 commits intomainfrom
774-bug-randomstring-function-does-not-use-rand_chachachacha20rng
Jun 29, 2024
Merged

fix: use rand_chacha for random string generation#777
flemingcaleb merged 4 commits intomainfrom
774-bug-randomstring-function-does-not-use-rand_chachachacha20rng

Conversation

@flemingcaleb
Copy link
Copy Markdown
Collaborator

/kind bug

What this PR does / why we need it:

updates random.string to use chacha_rng instead of the built-in thread_rng

Which issue(s) this PR fixes:

Fixes #774

@flemingcaleb flemingcaleb added bug Something isn't working eldritch Related to the Eldritch language labels May 25, 2024
@flemingcaleb flemingcaleb requested a review from Cictrone May 25, 2024 21:21
@flemingcaleb flemingcaleb self-assigned this May 25, 2024
@flemingcaleb flemingcaleb linked an issue May 25, 2024 that may be closed by this pull request
Cictrone
Cictrone previously approved these changes May 27, 2024
Copy link
Copy Markdown
Collaborator

@Cictrone Cictrone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

molte bene!

@hulto hulto requested a review from Cictrone June 21, 2024 12:28
@flemingcaleb flemingcaleb merged commit d904c9a into main Jun 29, 2024
@flemingcaleb flemingcaleb deleted the 774-bug-randomstring-function-does-not-use-rand_chachachacha20rng branch June 29, 2024 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working eldritch Related to the Eldritch language

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] random.string function does not use rand_chacha::ChaCha20Rng

3 participants