Get a password from csprng.xyz API
  • JavaScript 54.2%
  • CSS 26.5%
  • HTML 19.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Rodrigo de Avila 3eaf2122ca
options, popup: let the user pick which character classes go in the password
The options screen gets three checkboxes (letters, numbers, specials), saved as
charSets in chrome.storage.sync next to passwordSize. A missing key means all
three are in, which is how the extension behaved before.

The API only takes format and length, so the selection is applied on the client:
characters outside the checked classes are dropped from the server stream.
Filtering a uniform stream keeps it uniform over the subset, unlike a modulo
remap, which would bias it. Each request now asks for several passwords' worth of
characters, since fewer of them survive the filter, and the pool is walked in
blocks until one covers every checked class, so a password always contains each
of them. After three requests it ships the last block anyway instead of looping.

Entropy and the alphabet size on both screens follow the selection instead of the
fixed 70, and the last checked box is disabled so the selection cannot go empty.
2026-09-11 15:41:27 -03:00
.serena build: add serena config and bump version to 1.0.0 2026-09-02 13:29:06 -03:00
fonts Add Inter and InterDisplay font files and update CSS to use them 2025-09-23 15:03:56 -03:00
CLAUDE.md options, popup: let the user pick which character classes go in the password 2026-09-11 15:41:27 -03:00
icon.svg icon: replace the padlock with an entropy grid that works on both themes 2026-09-02 13:24:16 -03:00
icon16.png icon: replace the padlock with an entropy grid that works on both themes 2026-09-02 13:24:16 -03:00
icon32.png icon: replace the padlock with an entropy grid that works on both themes 2026-09-02 13:24:16 -03:00
icon48.png icon: replace the padlock with an entropy grid that works on both themes 2026-09-02 13:24:16 -03:00
icon128.png icon: replace the padlock with an entropy grid that works on both themes 2026-09-02 13:24:16 -03:00
LICENSE feat: change font-face, and remove special characters 2019-04-08 18:26:39 -03:00
manifest.json options, popup: let the user pick which character classes go in the password 2026-09-11 15:41:27 -03:00
options.html options, popup: let the user pick which character classes go in the password 2026-09-11 15:41:27 -03:00
options.js options, popup: let the user pick which character classes go in the password 2026-09-11 15:41:27 -03:00
popup.html popup: widen to 480px and declare the document charset 2026-09-02 11:48:45 -03:00
popup.js options, popup: let the user pick which character classes go in the password 2026-09-11 15:41:27 -03:00
style.css options, popup: let the user pick which character classes go in the password 2026-09-11 15:41:27 -03:00