Passphrase Entropy & Diceware Math: NIST SP 800-63B vs. Legacy Complexity Rules

Direct Answer & Technical Summary

Information entropy (H = L × log2(N)) proves that secret length and true randomness far outweigh human-chosen character substitutions. Modern NIST SP 800-63B guidance explicitly deprecates arbitrary composition rules and forced periodic rotation in favor of long passphrases (15+ characters) generated by a cryptographically secure pseudorandom number generator (CSPRNG) with rejection sampling.

1. Why Outdated Complexity Rules Produce Weak Passwords

For decades, legacy IT policies forced users to invent 8-character passwords containing one uppercase letter, one number, and one symbol, rotated every 90 days. Predictably, humans responded with patterns like Winter2026! and Spring2026!. Modern GPU cracking rigs running rule-based wordlists at 100 billion guesses per second break these predictable patterns in minutes.

2. Shannon Entropy & Cracking Math at 100B Guesses/Second

Each additional bit of true cryptographic entropy doubles the attacker's search space. For a uniformly selected secret of length L drawn from a pool of size N, total entropy is L × log2(N) bits:

Secret Type Effective Entropy Avg. Crack Time @ 100B/s Recommended Use
Human 8-char complex password ~32 to 40 bits Seconds to minutes Never use
6-word Diceware + 3-digit salt ~58 to 78 bits Decades to centuries (with PBKDF2) Human-memorable master vault
20-char CSPRNG ASCII password ~120 bits Trillions+ years Password manager accounts
32-byte Hex / Base64URL secret 256 bits Infeasible (AES-256 grade) API signing keys & JWT secrets

3. Eliminating Modulo Bias with Rejection Sampling

A subtle bug in many web password generators is computing randomUint32 % charset.length. When 2^32 is not evenly divisible by the character pool size, lower-indexed characters appear slightly more frequently than higher-indexed ones (modulo bias). ClearLoq's Cryptographic Passphrase & API Key Generator applies strict rejection sampling: any 32-bit value from window.crypto.getRandomValues above the largest clean multiple of the pool size is discarded and re-drawn.

Generate NIST SP 800-63B Compliant Secrets Locally

Switch seamlessly between EFF-style Diceware passphrases, 20+ character passwords, and 256-bit API secrets with live entropy readouts.

Launch Key Generator

ClearLoq Privacy & Cryptography Research

Last Reviewed: December 2, 2026 | References: NIST SP 800-63B, OWASP Authentication Cheat Sheet, W3C Web Crypto API

Review our CSPRNG implementation details on the ClearLoq Methodology page.