Vol. I · No. 579Rochester, New York, Thursday, September 24, 2026Research · Page B18
All workSection B · Page B18

ResearchKeystroke Dynamics Authenticator

Your Typing Rhythm Is Your Password

A desktop proof of concept that verifies who is typing from 15 timing features and a Random Forest.

The keystroke dynamics authenticator desktop app
The keystroke dynamics authenticator desktop app.Screenshot

This was a small hands-on test of behavioral biometrics, a couple of months before my mouse-dynamics research started. It implements the timing features from Wang, Meneely and Hou's paper on keystroke dynamics (ICISSP 2025). You type a fixed pangram, and the app records every key press and release with microsecond timing.

From those events it computes the paper's three measures: dwell time, press-to-press and flight time. Each is summarized as mean, standard deviation, median, min and max, which gives a 15-number signature. Modifier keys are filtered, auto-repeat is suppressed and gaps over 2 seconds are thrown out as noise.

The owner enrolls samples, other people enroll as guests, and a scaled Random Forest with 100 trees trains using stratified k-fold cross-validation. Authenticate mode shows VERIFIED or ACCESS DENIED with a confidence score, and training reports the 3 features that mattered most. It's one heavily commented Python file of 823 lines.

Graphic

How it works

Keystroke Dynamics Authenticator, start to finish, in 4 steps.

  1. Step 1:

    Capture

    Key press and release events

  2. Step 2:

    Features

    Dwell, press-to-press and flight, 5 stats each

  3. Step 3:

    Train

    Random Forest with stratified k-fold CV

  4. Step 4:

    Verify

    VERIFIED or ACCESS DENIED with confidence

Graphic: The Sahil Bachu

More from The Work

See all 25

Just for fun

Upload a Selfie, Get Roasted Like You're From Bangalore

A multimodal web app where Gemini roasts your photo in Bangalore English and a voice reads it back, word by word.

Upload a photo and Gemini roasts you in Bangalore English, then a voice reads the roast aloud while the words appear one at a time. A one-day build, live on Vercel.

Continued on Page B20

Information theory

A Wordle Clone With an Entropy-Powered Cyborg Sidekick

A full-stack Wordle clone with a Cyborg Mode that suggests the best next guess using Shannon entropy.

A complete Wordle clone in React with a twist: flip on Cyborg Mode and a Flask solver suggests the guess that splits the remaining answers the most, measured by Shannon entropy.

Continued on Page B21

Restaurant tech

A Restaurant iPad That Runs Its Own AI, Offline

An iPad demo that runs Llama 3.2 1B and Whisper on the device for order-taking, a menu kiosk and end-of-shift summaries.

An iPad demo of what on-device AI could add to a restaurant point of sale: voice order-taking with allergen alerts, a menu Q&A kiosk and shift summaries. Llama 3.2 1B and Whisper run locally, with no internet needed.

Continued on Page B22