pqbench, a research by Adam Bell

measuring how post-quantum cryptography affects tls 1.3 handshakes on a network

when
2026-09 to now
status
active
made with
rust, python, linux networking

my young scientist project. post-quantum keys and certificates are bigger than normal ones, and i wanted to measure what that actually costs on a real network.

a rust program does one tls handshake at a time and records the timings and bytes. a python script sets up a virtual network on linux with different mtu, latency and packet loss, captures every packet and stores the results.

what i found is that the cost isn't gradual. post-quantum key exchange costs almost nothing until the first message stops fitting in one packet. post-quantum certificates also made handshakes on lossy connections retransmit more often, from 7.9% to 11.1% over 15,000 trials.