Skip to content

Replace rand crate with BCryptGenRandom in dcomp sample#3883

Merged
kennykerr merged 1 commit intomasterfrom
rafael/remove-rand
Feb 10, 2026
Merged

Replace rand crate with BCryptGenRandom in dcomp sample#3883
kennykerr merged 1 commit intomasterfrom
rafael/remove-rand

Conversation

@riverar
Copy link
Collaborator

@riverar riverar commented Feb 9, 2026

Updates the random number generation in sample_dcomp by removing the dependency on the external rand crate and switching to the Windows-native BCryptGenRandom function.

Copy link
Collaborator

@kennykerr kennykerr left a comment

Choose a reason for hiding this comment

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

Nice!

@kennykerr kennykerr merged commit fe92024 into master Feb 10, 2026
32 checks passed
@kennykerr kennykerr deleted the rafael/remove-rand branch February 10, 2026 03:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments