Initial keys from public values · AEAD · header protection
Rebuild the four worked packets of RFC 9001 Appendix A byte for byte — derive the Initial keys from a published salt and the connection ID on the wire, seal the payload with AES-128-GCM, hide the packet number under a separate mask sampled from the ciphertext you just produced, then open the first packet as an observer with no key at all and read the server name out of it.
QUIC is the transport under HTTP/3. A client’s Initial packet has an encrypted payload, but observers can derive its keys from the public salt and the connection ID in its header. Other packet types have different protections. Retry carries an integrity tag over visible data, and Version Negotiation has no packet protection (RFC 9000 §12.1).
That sounds like a flaw. It is a deliberate design, and the specification says what it buys: protection against attackers who cannot read your packets, and no protection at all against one who can. Along the way QUIC does something genuinely clever — it hides its own packet numbers using a mask taken from the ciphertext it has just finished producing. Exhibit 3 steps through that circle. Nothing here is simulated: every byte on this page is computed in your browser and compared against the bytes the RFC prints.
Not production software — a teaching demo. It sends nothing: there is no network access anywhere in this page, and no packet built here goes anywhere.
KeyPhase seam is shaped for it and left empty; A.5's quic ku value is checked and then unused.Version record holds the salt and labels so it could be added; only version 1 exists here.