TodaKey: Persistent homology for deterministic key diversification in hybrid post-quantum medical image encryption

Medical images contain confidential patient data and must be protected during electronic transmission or storage. Ensuring the security of such information is a critical requirement in healthcare systems. Although various encryption techniques are available, there is increasing concern that many may become vulnerable with the development of quantum computing. This paper presents TodaKey (Topological Data Analysis Key), a construction that uses persistent homology for deterministic key diversification within a hybrid post-quantum framework for medical image encryption. In the construction, a 256-bit secret seed s is provided as input. For each seed, a 256-bit symmetric key k final is obtained through a deterministic process. The seed is first mapped to 80 points in 5 dimensions using a PCG64 pseudorandom generator seeded by the first 64 bits of S H A - 256 (s ‖ ctx). Persistent homology is computed over an alpha-complex filtration, and the finite birth–death pairs are rounded to six decimal places, canonically serialized, and hashed with SHA3–256 to produce a topological fingerprint h topo. The fingerprint is combined with the seed through a two-layer HKDF-HMAC-SHA256 key schedule to produce the final symmetric key. AES-256-GCM uses this key to protect medical images, while CRYSTALS-Kyber provides post-quantum key encapsulation. The security of TodaKey rests on the seed, SHA3–512, SHA3–256, HKDF-HMAC-SHA256, AES-256-GCM, and CRYSTALS-Kyber; persistent homology contributes diversification only. Experimental results demonstrate the practical feasibility of the approach. Evaluation on 100 medical images across four modalities (cardiac MRI, lung X-ray, breast ultrasound, and mammography) shows metrics close to theoretical ideals, including NPCR = 99.61% ± 0.07%, UACI = 33.47% ± 0.18%, and information entropy = 7.9992 ± 0.0004 (mean ± pooled per-image standard deviation). The average key-generation time is approximately 1.76 seconds, with persistent homology accounting for roughly 91.5% of this cost. A single-bit change in the input seed alters approximately 128.4 out of 256 bits in the output key, an avalanche effect attributable to SHA3–512 and HKDF-HMAC-SHA256. Ablation studies show that the topological layer does not significantly improve statistical metrics over a standard HKDF/SHA3 baseline, so TodaKey is presented as a deterministic diversification layer rather than a security layer. The construction is intended for offline or batch key derivation, where the additional computational cost can be amortized.

Authors

Institutions

Publication Details

Journal
PLoS ONE
Published
2026-12-02
DOI
https://doi.org/10.1371/journal.pone.0363875
Primary Topic
Chaos-based Image/Signal Encryption
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

TodaKey: Persistent homology for deterministic key diversification in hybrid post-quantum medical image encryption

Rashid Ali, Sana Bibi
PLoS ONE
Chaos-based Image/Signal Encryption
article

TodaKey: Persistent homology for deterministic key diversification in hybrid post-quantum medical image encryption

Rashid Ali, Sana Bibi
article en

Abstract

Medical images contain confidential patient data and must be protected during electronic transmission or storage. Ensuring the security of such information is a critical requirement in healthcare systems. Although various encryption techniques are available, there is increasing concern that many may become vulnerable with the development of quantum computing. This paper presents TodaKey (Topological Data Analysis Key), a construction that uses persistent homology for deterministic key diversification within a hybrid post-quantum framework for medical image encryption. In the construction, a 256-bit secret seed s is provided as input. For each seed, a 256-bit symmetric key k final is obtained through a deterministic process. The seed is first mapped to 80 points in 5 dimensions using a PCG64 pseudorandom generator seeded by the first 64 bits of S H A - 256 (s ‖ ctx). Persistent homology is computed over an alpha-complex filtration, and the finite birth–death pairs are rounded to six decimal places, canonically serialized, and hashed with SHA3–256 to produce a topological fingerprint h topo. The fingerprint is combined with the seed through a two-layer HKDF-HMAC-SHA256 key schedule to produce the final symmetric key. AES-256-GCM uses this key to protect medical images, while CRYSTALS-Kyber provides post-quantum key encapsulation. The security of TodaKey rests on the seed, SHA3–512, SHA3–256, HKDF-HMAC-SHA256, AES-256-GCM, and CRYSTALS-Kyber; persistent homology contributes diversification only. Experimental results demonstrate the practical feasibility of the approach. Evaluation on 100 medical images across four modalities (cardiac MRI, lung X-ray, breast ultrasound, and mammography) shows metrics close to theoretical ideals, including NPCR = 99.61% ± 0.07%, UACI = 33.47% ± 0.18%, and information entropy = 7.9992 ± 0.0004 (mean ± pooled per-image standard deviation). The average key-generation time is approximately 1.76 seconds, with persistent homology accounting for roughly 91.5% of this cost. A single-bit change in the input seed alters approximately 128.4 out of 256 bits in the output key, an avalanche effect attributable to SHA3–512 and HKDF-HMAC-SHA256. Ablation studies show that the topological layer does not significantly improve statistical metrics over a standard HKDF/SHA3 baseline, so TodaKey is presented as a deterministic diversification layer rather than a security layer. The construction is intended for offline or batch key derivation, where the additional computational cost can be amortized.

PLoS ONEVol. 21(12)
Capital University of Science and Technology (PK)
Chaos-based Image/Signal Encryption
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon