cd /news/artificial-intelligence/zirah-a-post-quantum-true-random-num… · home › topics › artificial-intelligence › article
[ARTICLE · art-179326] src=arxiv.org ↗ pub= topic=artificial-intelligence verified=true sentiment=· neutral

Zirah: A Post-Quantum True Random Number Generator Hardware Signer

A paper submitted on 5 Nov 2026 by Muhammad Shaheer Bin Junaid describes Zirah, an STM32F407-based hardware signer that generates random bits from a reverse-biased 2N3904 junction in avalanche breakdown and computes ML-DSA-65 (FIPS 204, hedged) signatures with two-share arithmetic masking, completing a full signing operation in under 0.8 s at 168 MHz. NIST's SP 800-90B tool rejected the IID assumption across 1,000,000 raw samples and assessed 6.898 bits of min-entropy per byte on the non-IID track, against the 1 bit the firmware credits, while spectral lines near 116 Hz holding about 5% of the variance remain unexplained. The paper reports that the ATECC608 secure element cannot store the 4,032-byte ML-DSA-65 key, which sits in ordinary flash behind readout protection, and that on an earlier board before that protection was enabled a debugger copied the key out and produced a valid ML-DSA-65 signature without the device.

key takeaway

NIST's SP 800-90B non-IID assessment credited the avalanche-noise source with 6.898 bits of min-entropy per byte versus the 1 bit the firmware assumes, and the masked ML-DSA-65 signature took a median of 157 ms over 20 runs at 168 MHz.

read3 min views1 publishedDec 1, 2026
Zirah: A Post-Quantum True Random Number Generator Hardware Signer
Image: source
  [Submitted on 5 Nov 2026]


[View PDF](https://arxiv.org/pdf/2611.08200)

Abstract:Zirah is a hardware signer built around an STM32F407 microcontroller, and its purpose is to find out, on inexpensive hardware, where a post-quantum signing key is exposed and what actually protects it. The device draws every random bit from a reverse-biased 2N3904 junction in avalanche breakdown, amplified by an LM358 and screened by SP 800-90B health tests, computes ML-DSA-65 (FIPS 204, hedged) on the STM32 with two-share arithmetic masking of the secret-key multiplications, and adds ECDSA P-256 from an ATECC608 secure element over the same digest, once a person has matched an eight-digit digest prefix on its OLED with the PC and pressed a button. A desktop application and a command-line tool drive the board and verify its output, and because only a 32-byte manifest digest reaches the device, it signs files of any type and size, returning signed copies for PDF, Office Open XML, ZIP, PNG and JPEG files and detached records for every other format. NIST's SP 800-90B tool rejected the IID assumption for 1,000,000 raw samples and assessed 6.898 bits of min-entropy per byte on the non-IID track, against the 1 bit the firmware credits, while spectral lines near 116 Hz that hold about 5 % of the variance remain unexplained. At 168 MHz the masked signature took a median of 157 ms over 20 runs and a complete signing operation under 0.8 s, and the signer matched the pq-crystals reference in 1,976 checks natively and on an emulated Cortex-M4. The ATECC608 can neither store the 4,032-byte ML-DSA-65 key nor compute with it, so that key sits in ordinary flash behind readout protection, and on an earlier board, before that protection was enabled, a debugger copied it out and the copy produced a valid ML-DSA-65 signature without the device, although the leakage results come from an instruction-level emulator and nothing here is certified.

Submission history #

From: Muhammad Shaheer Bin Junaid [
[view email](https://arxiv.org/show-email/06f7429e/2611.08200)]

**[v1]** Thu, 5 Nov 2026 15:54:05 UTC (17,714 KB)

Additional Features

References & Citations

...

Bibliographic Explorer

(What is the Explorer?) Connected Papers

(What is Connected Papers?) Litmaps

(What is Litmaps?) scite Smart Citations

(What are Smart Citations?) alphaXiv

(What is alphaXiv?) CatalyzeX Code Finder for Papers

(What is CatalyzeX?) DagsHub

(What is DagsHub?) Gotit.pub

(What is GotitPub?) Hugging Face

(What is Huggingface?) ScienceCast

(What is ScienceCast?) Influence Flower

(What are Influence Flowers?) CORE Recommender

(What is CORE?) arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @zirah 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/zirah-a-post-quantum…] indexed:0 read:3min 2026-12-01 · —