Chinese Idiom Passphrase Generator

Selects 2–8 Chinese idioms from a small built-in list of 10 using browser cryptographic randomness. This is not a broad audited idiom corpus.

Chinese Passphrase Generator · Client runtimeSandboxed
Formatted results will render here in real time.

About this chinese idiom passphrase generator

Selects 2–8 Chinese idioms from a small built-in list of 10 using browser cryptographic randomness. This is not a broad audited idiom corpus Runs entirely in-memory using Web Crypto primitives to keep sensitive tokens, certificates, and cryptographic keys secure from third-party interception.

Encoding & cryptographic principles

Decodes, inspects, and validates authentication tokens and cryptographic credentials conforming to RFC 7519 (JSON Web Token - JWT), RFC 7515 (JSON Web Signature - JWS), and RFC 6238 (TOTP: Time-Based One-Time Password Algorithm). Decodes Base64URL-encoded JWT headers and claims payloads into syntax-highlighted JSON, parsing UNIX timestamps (iat, exp, nbf) into human-readable UTC dates and evaluating token expiration status without exposing private signing keys.

Worked verification example

Scenario: Generate a three-word phrase from the documented bundled idiom list.

Sample input:

{"count":3,"separator":"-"}

Processing: Clamp count to 2–8 and select with replacement from the fixed 10-item list using secure random indices.

Illustrative output:

JSON: three words joined by -; wordCount 3; wordlistSize 10; estimatedRandomBits 10.

Security parameters & input constraints

The count defaults to 3, is truncated to a whole number, and is clamped to 2–8; entries are drawn independently, so duplicates can appear. The bundled list has only ten idioms and the entropy estimate assumes uniform independent draws; this is not a high-value secret generator. A secure context with crypto.getRandomValues is required.

Cryptographic digests, encoded strings, and signatures generated by Chinese Idiom Passphrase Generator should be verified against target authentication systems before production use.

Client-side Web Crypto boundary

Key derivation, hashing, and encoding in Chinese Idiom Passphrase Generator execute in local memory using Web Crypto APIs without remote socket transmission.

Cryptographic specifications & RFC standards

Technical specifications and cryptographic RFC standards governing algorithms and key representations:

Chinese Idiom Passphrase Generator verification · Audit standards

How to use it

  1. Enter JSON with an optional count and separator, or use {} for the defaults.
  2. Run locally to draw idioms from the bundled ten-item list with browser secure random values.
  3. Read or copy the JSON passphrase, selected words, actual count, list size, entropy estimate, and warning.

Frequently asked questions

How are passphrases selected?+

The generator parses JSON count and separator, selects with replacement from its bundled list of ten four-character idioms using a secure random index, and returns the joined phrase plus the selected words.

Which controls and range are implemented?+

The primary field accepts JSON. count is truncated and clamped from 2 through 8; separator defaults to a hyphen. The output reports wordCount, wordlistSize and estimatedRandomBits.

What example can I run locally?+

With {"count":3,"separator":"-"}, expect three selected idioms joined by a hyphen, wordCount 3, wordlistSize 10, and estimatedRandomBits 10. The selected idioms vary by run.

Is this suitable for high-value secrets?+

No. The bundled list is deliberately small and the page itself warns about it. This is not Diceware, not a large audited corpus, and it does not assess storage, account recovery, or device compromise.