Secret Key Generation Based on Manipulated Channel Measurement Matching
📌 Abstract
Physical layer secret key generation leveraging wireless channel reciprocity has demonstrated feasibility and effectiveness across various wireless scenarios, including the Internet of Things, mobile communication networks, and industrial control systems. Most existing studies rely on quantization techniques to convert channel measurements into key bits; however, asynchronous channel probing and noise effects in time-division duplexing systems can lead to inconsistent quantization results and key bit mismatches. This paper breaks from traditional quantization approaches by proposing a method that matches randomly manipulated (permuted or edited) channel measurements between users through holistic difference minimization. Specifically, two key generation algorithms are designed: BM-SKG based on bipartite graph matching and SA-SKG based on edit sequence alignment. BM-SKG generates keys from the permutation order of channel measurements, while SA-SKG achieves key agreement by aligning edited channel measurement sequences. Both algorithms allow one party to preset the key and embed encrypted messages in data packets, thereby reducing the communication overhead of key generation. Extensive experimental results demonstrate that BM-SKG and SA-SKG achieve error-free key agreement on channel measurements at low cost across multiple scenarios.
💡 Core Contributions
- Proposes a new key generation paradigm based on manipulated channel measurement matching, supporting key presetting: By applying random permutation or editing manipulation to channel measurements, key information is encoded in the manipulation patterns (permutation order or editing patterns), circumventing the non-reciprocity issues in traditional quantization processes; meanwhile, one party is allowed to preset the key during the channel sampling phase and transmit encrypted messages with data packets, reducing communication overhead.
- Designs BM-SKG: a high-security algorithm based on sparse bipartite graph matching: Channel segments are modeled as a weighted bipartite graph, and the permutation order is inferred via an edge-pruning improved minimum-weight bipartite graph matching algorithm, reducing the time complexity to ; 64 segments provide equivalent encryption strength exceeding 256 bits, with a key generation time of approximately 27 milliseconds at 128-bit encryption strength, suitable for scenarios with sufficient computational resources and high security requirements.
- Designs SA-SKG: an efficient algorithm based on edit sequence alignment: Dynamic programming is used to compute edit distance and identify insertion/deletion operation patterns, with a time complexity of ; 64 segments provide equivalent encryption strength exceeding 128 bits, with a generation time of approximately 9 milliseconds at 128-bit strength, suitable for time-sensitive scenarios; combined with the channel multiplexing mechanism, the key generation rate can reach 4 bps.
- Designs an efficient information reconciliation scheme and channel multiplexing mechanism, validated by NIST randomness tests: A lightweight two-round challenge-response information reconciliation scheme is proposed, correcting occasional mismatches without traditional multi-round interactions; the channel multiplexing mechanism supports multiple rounds of key generation; all 9 NIST randomness tests pass with 99% confidence across four experimental scenarios.
🔧 Method Overview

Both algorithms share the same first two stages.Channel sampling stage, where Alice and Bob exchange probing signals and respectively obtain RSS or CSI channel measurement sequences and .Entropy-based random shuffling and segmentation stage, where Alice shuffles in a random order satisfying entropy requirements and notifies Bob; both parties synchronously shuffle and then divide their sequences into equal-length segments of channel segments, enhancing sequence complexity while preserving reciprocity.Segment permutation and matching stage of BM-SKG: Alice applies a random permutation to the segment sequence and makes it public; Bob models it as a weighted bipartite graph and infers via improved minimum-weight matching , using as the key.Segment editing and alignment stage of SA-SKG: Alice randomly inserts/deletes some segments in the segment sequence and makes it public; Bob identifies the editing patterns (insertion positions and deletion positions ) by computing edit distance, using as the key. Both algorithms finally undergo information reconciliation and privacy amplification to generate the final key.
📊 Experimental Results


BM-SKG and SA-SKG maintain bit error rate (BER) and key error rate (KER) at levels close to 0 across all scenarios, while completing key generation at 128-bit equivalent encryption strength in approximately 27 milliseconds and 9 milliseconds, respectively: As shown in Fig. 7 As shown, under the condition of fixed 64 segments with a segment length of 6, SA-SKG achieves BER and KER of 0 in all four indoor/outdoor mobile/static scenarios (static indoor scenario has BER of only 0.0009 and KER of only 0.0068), and BM-SKG is similarly close to 0; the six compared quantization baseline methods exhibit significantly higher BER and KER in multiple scenarios, while the key generation rates of both methods (KGR = 1 bps) are comparable to most baselines.Table I The NIST statistical test results further demonstrate that BM-SKG, SA-SKG, and their channel multiplexing versions (BM-SKGr, SA-SKGr) pass all 9 tests with 99% confidence, verifying the high randomness of the generated keys.
📝 Citation
@article{du2024bmskg,
author = {Yicong Du and Huan Dai and Hongbo Liu and Yan Wang and Guyue Li and Yanzhi Ren and Yingying Chen and Ke Zhang},
title = {Secret Key Generation Based on Manipulated Channel Measurement Matching},
journal = {IEEE Transactions on Mobile Computing},
volume = {23},
number = {10},
pages = {9532--9548},
month = oct,
year = {2024},
doi = {10.1109/TMC.2024.3364909}
}
