Cost-of-delay prioritisation for post-quantum migration: classical and harvest-now-decrypt-later risk in one unit (USD per year). Code, proofs, case studies, live explorer.
Discover the most used tools by our community.
Live explorer · reference implementation, proofs, case studies and statistics for a research paper.
Classical hacking risk and harvest-now-decrypt-later (HNDL) quantum risk, expressed in one unit — US dollars of loss per year of delay — so a single ordered list can answer "should we close this classical finding, or migrate that asset's cryptography first?"
Status: research prototype. All case-study inputs are assumptions derived from public documentation; no organisation supplied data, and the method has not been validated against real incidents or migrations. See Caveats.
Attackers can copy encrypted data today and decrypt it once a large quantum computer exists. How much that matters depends on how long the data must stay secret, whether it can be recorded, and whether an ordinary attacker would have taken it first. Existing post-quantum risk scores are dimensionless and quantum-only, so they cannot be compared with classical risk, which is measured in dollars.
This repository computes, for each asset, the cost of waiting one more year from each threat, in dollars, and couples them so the same loss is not counted twice. It contains:
Requires Python ≥ 3.10. Node ≥ 18 is optional (it runs the check on the explorer's maths).
git clone https://github.com/AnimeshShaw/pqc-cost-of-delay && cd pqc-cost-of-delay python -m venv .venv && source .venv/bin/activate # Windows: .venv\Scripts\activate pip install -r requirements.txt python scripts/reproduce.py reproduce.py runs, in order: the test suite → numerical validation → the statistical analysis (results/) → the figures (paper/figures/, created if missing) → the parameter tables → the explorer's data and its cross-language check. It takes roughly 2–4 minutes and is deterministic (every random procedure has a fixed seed). Afterwards git diff --stat results/ should show no change, or differences only in the last printed digit if your NumPy/SciPy versions differ. Exact tested versions are in requirements-lock.txt.
To explore interactively, use the live explorer or open app/index.html locally. It needs no server, and the page's code makes no network requests and sends your inputs nowhere (GitHub, as host, logs ordinary page visits).
python -m costofdelay.register path/to/asset_register.csv The CSV format is described in methodology/PARAMETERS.md and exemplified in case_studies/.
If your organisation would like to test the method on a real register, or use the code or paper as a starting point, you are welcome to get in touch: [email protected]. Contributions are described in CONTRIBUTING.md.




