Files
Password-Manager/js
Zaki 69b17e4505 Fix password generator modulo bias with rejection sampling
Use single-byte rejection sampling: generate byte, reject if >= largest multiple of charset length, then modulo. Eliminates bias from c.charAt(arr[i] % c.length).
2026-05-09 22:28:54 +01:00
..