Password hashing simulator / Change history

Change history

Every change made to Password hashing simulator, newest first, from the site's version history. Each date is the day the change was saved.

4 changes to this page · 7 site-wide changes · first saved 28 May 2026

  1. Add tests for seven more simulators

    The same change touched 6 other pages.

    Details

    AVL and red-black trees (invariants checked from snapshots, keys against a set), Dijkstra and Bellman-Ford (Floyd-Warshall), CPU scheduling (Silberschatz's worked examples), password hashing (Python hashlib, bcrypt, argon2-cffi), JWT (Node HMAC, PyJWT) and SQL joins (SQLite running the page's queries). CI installs the Python references.

  2. Stop the password hashing page failing on an empty password

    Details

    hash-wasm's bcrypt and Argon2 refuse an empty password, so clearing the box left an unhandled error and a stuck page. The page now asks for a password for those two, and an empty login attempt against them is simply wrong.

  3. Load only the hash-wasm functions used; fix empty-frame contrast

    The same change touched 1 other page.

    Details

    Destructured dynamic imports let Rollup tree-shake hash-wasm: the lazily loaded chunk drops from 217 kB to 77 kB. Hashes re-checked against Python. Virtual memory: empty frames no longer use opacity, which failed the colour-contrast audit.

  4. Rebuild password hashing simulator with real hashes

    Details

    The old page showed made-up digests and typed-in timings. Now every hash is computed in the browser: SHA-256 and PBKDF2 through Web Crypto, bcrypt, scrypt and Argon2id through hash-wasm (new dependency, loaded on first use). Outputs match Python hashlib, bcrypt and argon2-cffi for every preset. Timings are measured on the visitor's device; attacker speeds come from a cited hashcat RTX 4090 benchmark, scaled only where work is linear in the parameter. Adds sign-up, login check and a real dictionary attack on a leaked six-user table, OWASP settings, FAQ JSON-LD and an OG card. package-lock.json also picks up @resvg/resvg-js and satori, which were in package.json but missing from the lockfile.

Site-wide changes that also touched this page (7)

Changes made to more than 25 pages at once, such as a new layout, a wording pass or a move to a new folder.

  1. Replace the staff byline with AI-drafted and review status

    Touched 92 pages.

  2. Rewrite site prose in plain language; simulators, homepage, About, footer

    Touched 579 pages.

  3. add math and history, more content

    Touched 183 pages.

  4. new content and pages

    Touched 144 pages.

  5. Update components, cheat sheets, and structure

    Touched 444 pages.

  6. improve content

    Touched 405 pages.

  7. add more sims

    Touched 28 pages.

What counts as a change to this page

Any saved change to these files, including when they lived in an older folder:

  • src/routes/simulators/password-hashing/+page.svelte
  • src/lib/sims/passwordHash.ts
  • tests/sims/password.test.ts

The descriptions are the notes written when each change was saved, unedited, so older ones can be short.