Code
The cryptography of computers: hashes, AES and HMAC, RSA’s weak keys, Diffie–Hellman, certificates, one-time passwords, Shor and Grover, ML-KEM, BB84, Shamir’s shares, time locks, passwords.
Passwords
Generates random passwords, passphrases from a 1,040-word list (log2 1040 ≈ 10 bits a word, as Arnold Reinhold reckoned for Diceware in 1995) or pronounceable strings, all from crypto.getRandomValues; and analyses one: no verdict, its upper bound in bits beside the far smaller count of the pieces it knows. Its advice follows NIST SP 800-63B-4 (2025): 15 characters and a blocklist, no rule on the kinds of character.
Terms
History, how it works, how it was checked, limits
History
Arnold Reinhold’s Diceware, first published on sci.crypt.research on 1 August 1995, reckoned each word drawn at random from a list as log2 of the list’s size in bits. NIST’s SP 800-63B-4 (2025) asks for 15 characters and a blocklist rather than rules on the kinds of character. Browsers draw cryptographic random numbers through crypto.getRandomValues, which the W3C’s Web Cryptography API defines.
How it works
Random draws 8 to 128 characters from the chosen sets of capitals, small letters, digits and 26 symbols, each drawn without a modulo’s bias: length × log2(pool) bits. Passphrase draws 3 to 8 words from a list of 1,040, about 10 bits each; Pronounceable joins syllables, 3.15 bits a character by its tables. The password sits alone in a card with Copy only, handed to no other tool. Analyze, in a field never saved, gives no verdict: an upper bound, length × log2 of the classes used, true only of characters of printable ASCII drawn at random; where the password is built of pieces the tool knows (its 43 passwords and 1,040 words, repeats, runs, keyboard walks, a block written twice, dates), their far smaller count; the time to try them all at 10^10 guesses a second, drawn beside NIST’s limit of 100 failed tries online; and length against NIST’s floors of 8 and 15. Its advice is length, and another password where one is listed, never a kind of character.
How it was checked
The tests find “password” as common, “p@ssw0rd” through its leet form and “qwertyui” as a keyboard walk; five words at 5 × log2 1040 bits, ambiguous characters left out and a random password drawn from its pool. They check that no advice names a kind of character, that 14 characters are short and 15 are not, hunter2hunter2, sixteen a’s and 5,000 p’s by their pieces, none above the bound on 2,000 seeded passwords, the crack time at any length, the draw’s every value below its bound, and the password alone in a card with Copy only.
The tests hold 47 checks of this tool; 2 rest on outside material:
- A standard’s own vectors NIST’s two floors: 15 where the password stands alone, 8 beside a second factor
- A standard’s own vectors … under the axis NIST’s limit of 100 failed tries online (SP 800-63B-4, §3.2.2), and what the tool’s ten thousand million guesses a second try in a second, a day, a year and a century
Limits
The counts are the tool’s own estimate, not a published measure, and its lists short: a word on neither counts as random letters (Tr0ub4dor&3 keeps its upper bound), so finding nothing is no sign of strength. The 43 common passwords rest on no published list; a service’s blocklist holds millions. The word list is the tool’s own, not Diceware’s; the pronounceable bits ignore ambiguous cuttings and a short last syllable.