Skip to content

Conversation

@dinesh-git17
Copy link
Owner

…ration

Use rejection sampling to eliminate modulo bias when generating short codes. Bytes outside the unbiased range [0, maxUsable) are rejected to ensure uniform distribution across the alphabet.

Addresses CodeQL alert: js/biased-cryptographic-random

Description

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update
  • Refactoring
  • CI/CD changes

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review
  • I have added tests (if applicable)
  • All CI checks pass
  • I have updated documentation (if applicable)

Related Issues

Screenshots (if applicable)

…ration

Use rejection sampling to eliminate modulo bias when generating short codes.
Bytes outside the unbiased range [0, maxUsable) are rejected to ensure
uniform distribution across the alphabet.

Addresses CodeQL alert: js/biased-cryptographic-random
@vercel
Copy link

vercel bot commented Dec 11, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
llm-debate-arena Ready Ready Preview Comment Dec 11, 2025 5:51pm

@github-actions
Copy link

🚀 Preview Deployment

Name Status URL
Preview ✅ Ready Visit Preview

Deployed with commit f04e9e4

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.

3 participants