⚠ HEADS UP: this site was hastily vibe coded. Expect rough edges.
趙宇洋
Two flags of the early Republic
Yuyang Zhao wearing a white headset with pink cat ears

趙宇洋Yuyang Zhao

they/themyuyangzhao17@gmail.com

I'm a Ph.D. student in Electrical and Computer Engineering at the University of Waterloo. I work with 龔光 (Guang Gong) on pointing neural networks at block ciphers.

Before that I spent a few years on keyboard firmware. I shipped firmware for 10 production keyboards and have had more than 130 pull requests merged into QMK. Along the way I've built CPUs, number formats and an operating system from scratch.

Outside of engineering I read a lot of history and collect languages.

Key tester

Hover over a key to see its keycode.

Last key: — Hover: — Tested: 0 / 104 Held: 0 · max 0 Cherry profile

Work

Momokai

2022.05 — 2024.08
Firmware Engineer, West Covina, CA
  • Led firmware design for the company's mechanical keyboards, turning hardware features into firmware requirements and then implementing them.
  • Planned and delivered firmware for 4 keyboard models on product and manufacturing schedules.
  • Implemented Hall-effect magnetic switch support, which opened up the company's magnetic-switch product line.

IDOBAO

2022.02 — 2022.06
Firmware Engineer, Contract, Shenzhen, China
  • Brought 6 keyboard models to market by implementing, optimizing and maintaining their production firmware.
  • Worked between the manufacturer and the open-source firmware community, so integration went smoothly and licensing stayed compliant.

University of Illinois Urbana-Champaign

2023.02 — 2023.05
Course Assistant

Audited course assignments for structure, coherence and accessibility.

Cravings Restaurant

2020.06 — 2020.08
IT Coordinator, Champaign, IL

Built an online ordering system and updated the restaurant's network.

Hao Sheng Wei Ye Computer Store (沈阳南湖昊晟伟业电脑)

2018.06 — 2018.08
Repair Technician, Shenyang, China

Serviced and repaired computers, and built systems to customer spec.

Projects

Neural cryptanalysis with LLM agents

2026
ECE 699, University of Waterloo · Report (PDF, 34 pp.)

I reproduced Aron Gohr's CRYPTO 2019 paper on deep-learning attacks against round-reduced Speck32/64, and studied how well LLM coding agents (Claude, ChatGPT, Antigravity) can reproduce cryptanalysis research. Then I extended the method to two lightweight ciphers the paper didn't cover, Simeck32/64 and Simon32/64.

  • Reproduction. Rebuilt Gohr's neural distinguishers and key-recovery attacks from his released code, documented every departure from the paper, and found a defect in the reference key-ranking script.
  • New ciphers. Trained staged neural distinguishers for Simeck and Simon, and added a "free first round" to extend each by one more round. The 11-round Simeck distinguisher reaches 0.513 accuracy (the paper had 0.514 for Speck); the 10-round Simon one reaches 0.556.
  • Full key recovery. Built a three-stage neural key-ranking attack on 13-round Simeck32/64. It recovered the full 64-bit master key in 43 of 43 trials (95% CI 0.92–1.00).
  • Analysis. Explained the attacks' key-rank floors by showing which ciphertext bits the networks ignore, showed that Simon's "two-round effect" is not caused by its Feistel word swap, and traced how one round-key bit changes Simeck's accuracy through early differentials.
  • Benchmarking. Reproduced follow-up work, including Bao et al. (ASIACRYPT 2022) and DBitNet, and compared the results with published bounds.
  • Engineering. Ran multi-hour GPU job queues on three laptops (TensorFlow under WSL2), writing results to disk as they came in so they survived interruptions. Everything is version-controlled and written up in LaTeX.

Python, TensorFlow/Keras, CUDA, NumPy, LaTeX

QMK Firmware

ongoing

I contribute to QMK, the open-source firmware behind thousands of custom keyboards, and have had more than 130 pull requests merged upstream.

C, atmega32u4

TLS 1.2 from scratch, in Rust

Client and server handshake with RSA and DHE key exchange and certificate-based authentication; the TLS PRF, key expansion, record-layer HMAC, AES-CBC and Finished-message verification; and the Signature Algorithms and Secure Renegotiation extensions. It interoperates with curl and nginx.

Pipelined RISC-V CPU

An RV32I processor, pipelined, implemented and verified on an FPGA in SystemVerilog.

MXFP4 on FPGA fabrics

MXFP4 arithmetic and MXFP4 ↔ bFP16 conversion, mapped onto theoretical FPGA architectures with COFFE.

An x86 operating system

Context switching, segmented memory protection, a file system, and keyboard and text-mode drivers, in C and assembly.

FPGA arithmetic

High-frequency adders, 2048-bit-wide adders, a parameterized floating-point unit for any format, and a game built in hardware.

Testing & verification toolkit

Coverage-guided and grammar-based fuzzing, input reduction, property-based testing and formal proofs, with branch-coverage tracking and failure minimization.

IC fabrication & VLSI

Fabricated and characterized IC devices on a 100 mm silicon wafer in the UIUC cleanroom. Designed an adder, a transmission-gate flip-flop and a 4-bit counter from transistors, schematic through layout.

MySQL median aggregate

A loadable C++ aggregate UDF that adds MEDIAN to MySQL, handling type coercion, NULLs and odd and even group sizes across the full UDF lifecycle.

Wi-Fi + Bluetooth power research

Research on power-aware multimodal wireless communication, specifically Wi-Fi + Bluetooth side-channel networking, measuring power across configurations.

Language & history

Side projects: putting the Chinese characters back into Korean and Vietnamese text, and teaching a network to read wartime maps.

Hangul → Hanja mixed-script converter

gukhan · 國漢混用 · github.com/peepeetee/gukhan

Turns Korean Hangul text into 國漢文混用體, the mixed Hangul–Hanja style: Sino-Korean words in Hanja, native words and endings untouched. Kiwi morphological analysis, then longest-match lookup in a 706,729-entry Sino-Korean lexicon built from 標準國語大辭典, 우리말샘, Wiktionary and Unihan. Homographs (國家 or 國歌?) are flagged, never guessed, and an interactive review tool records each decision.

  • Converts HTML, Word, EPUB and subtitles while leaving their markup and timing intact.
  • Learner styles: 국군(國軍), 國軍(국군) or ruby text.
  • A Chrome and Firefox extension converts pages entirely on-device.
  • Scored only on a public regression set of historical mixed-script texts. On the 1948 大韓民國憲法 it got 4 of 1,897 words wrong and abstained rather than guess on the rest.

Quốc ngữ → chữ Hán mixed-script converter

quochan · quốc hán

The Vietnamese sibling of gukhan (國漢 reads gukhan in Korean and quốc hán in Vietnamese). It writes Sino-Vietnamese words in traditional chữ Hán and keeps native words in Quốc ngữ, so names come out as 阮文惠 rather than Nguyễn Văn Huệ.

  • Tone-mark and spelling normalisation, then dictionary segmentation and lookup in a lexicon built from Wiktionary and Unihan.
  • Ambiguous homophones stay in Quốc ngữ and are flagged for the reader.
  • A hand-annotated regression set runs in CI on every change.

Reading roads off WWII topographic maps

gsgs-ams-map-reader · 1943–45 maps of north-west France

Extracts the road network from scanned US Army Map Service reprints of British G.S.G.S. sheets (1:50,000 and 1:100,000). A small U-Net, trained from scratch on squares I traced by hand, is scored against a rule-based reader (colour separation, skeletons and corridor rules) and a published UNet++ recipe, on held-out squares and on a blind test set traced after every model was trained. Every run is reproducible: seeded and pinned, with SHA-256 manifests for every input and weight file.

On the blind test set (7 land squares, seed 1) the U-Net scores 0.842 quality against 0.467 for the rule-based reader, and finds 94% of the hand-traced road length. It has 1.1 million parameters and no pretrained weights.

Tools

Languages
C, C++, Rust, Python, SystemVerilog, x86 and RISC-V assembly, OCaml, Dafny, Kani
Hardware
FPGAs, Quartus, Cadence Virtuoso, VLSI design, IC fabrication, COFFE
Other
PyTorch, NumPy, MySQL, Git, Linux
Spoken
English, Chinese, Japanese

Education

University of Waterloo

2026 — present
Ph.D., Electrical & Computer Engineering

Supervised by Prof. Guang Gong (龔光). My research continues my ECE 699 project on neural cryptanalysis with LLM agents.

University of Waterloo

2025 — 2026
M.Eng., Electrical & Computer Engineering

Safety-Critical Embedded Systems · Computer Security · Network Security · Digital Integrated Circuits · Reconfigurable Computing · Software Quality Assurance · Database Systems

University of Illinois Urbana-Champaign

2017 — 2024
B.S., Computer Engineering

Computer Systems Engineering · Computer Organization & Design · IC Device Theory & Fabrication · Semiconductor Electronics · Programming Languages & Compilers · Artificial Intelligence · Wireless Networks · Algorithmic Market Microstructure · High-Frequency Trading

Contact

I live in Waterloo, Ontario. Email is the best way to reach me: yuyangzhao17@gmail.com.

My resume is here as a PDF.