Skip to content

Use cryptographically secure randomness for selecting rejection reasons#75

Open
06bruce wants to merge 1 commit intohotheadhacker:mainfrom
06bruce:feature-rng
Open

Use cryptographically secure randomness for selecting rejection reasons#75
06bruce wants to merge 1 commit intohotheadhacker:mainfrom
06bruce:feature-rng

Conversation

@06bruce
Copy link

@06bruce 06bruce commented Jan 12, 2026

This change replaces Math.random() with crypto.randomInt for selecting
rejection reasons, ensuring cryptographically secure and unbiased
randomness as requested in Issue #74.

Fixes #74

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.

Replace Math.random() with a proper Random Number Generator

1 participant