Skip to content

feat(password-generator): add secure password generator tool - #609

Open
LuoXingchen935 wants to merge 2 commits into
sharevb:chore/all-my-stuffsfrom
LuoXingchen935:password-generator
Open

LuoXingchen935 wants to merge 2 commits into
sharevb:chore/all-my-stuffsfrom
LuoXingchen935:password-generator

Conversation

@LuoXingchen935

Copy link
Copy Markdown

Description

Add a new Password generator tool under the Generators category.

The tool generates secure random passwords locally in the browser using the Web Crypto API (via @/utils/random), without sending anything to a server. It supports:

  • Configurable password length (4–128) and number of passwords to generate (1–50)
  • Toggleable uppercase, lowercase, numbers, and symbols
  • Option to exclude visually similar characters (Il1O0o)
  • Custom additional characters, including non-Latin characters
  • Copy to clipboard and one-click regeneration
  • Settings persisted via query params / local storage
  • A link to the existing passphrase generator for memorable passwords

Also included:

  • Unit tests for the generation service (password-generator.service.test.ts)
  • E2E test covering the page title and length configuration (password-generator.e2e.spec.ts)
  • English and Chinese translations

Add a new password generator that creates random passwords locally using the browser cryptographic random source.
The tool supports configurable length and batch count, uppercase/lowercase letters, numbers, symbols, and custom characters, with an option to exclude visually similar characters.

Also add unit tests for the generation service, an e2e test for the page, and English and Chinese translations.
@vercel

vercel Bot commented Dec 3, 2026

Copy link
Copy Markdown

@LuoXingchen935 is attempting to deploy a commit to the sharevb's projects Team on Vercel.

A member of the Team first needs to authorize it.

…e2e test

Naive UI NInputNumber renders input[type=text] without role='spinbutton'
and n-form-item label is not linked via for/id. Use placeholder-based
selector and press Enter to trigger Vue reactive update.

This branch has not been deployed

No deployments
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.

1 participant