-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(secure-key-generator): enhance security with CSPRNG
Using crypto.getRandomValues() instead of Math.random() for cryptographically secure password generation. Added protection against modulo bias in character selection and Fisher-Yates shuffle. Maintains same API while improving entropy and randomness quality. BREAKING CHANGE: RandomGenerator interface must now provide cryptographically secure values
- Loading branch information
1 parent
354e708
commit 5874f8e
Showing
1 changed file
with
46 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters