Efficient Error-Free Secret Key Generation Based on Ranked Index Matching

DU Y, DAI H, LIU H, et al.

IEEE Transactions on Mobile Computing


📌 Abstract

Secret key generation leveraging the inherent randomness of wireless channels is a key paradigm for physical layer security in wireless networks. However, existing quantization-based methods face difficulties in eliminating noise-induced inconsistent bits. Recent studies have proposed achieving error-free secret key generation by matching segmented channel samples with similar variation patterns between legitimate parties (i.e., channel segments), but such methods also suffer from high computational overhead and degraded matching accuracy when generating long keys. To this end, this paper proposes a sorting-index-based secret key generation method (SIM-SKG) to achieve efficient and error-free key generation. Specifically, by sorting channel samples, each channel segment is ensured to have a unique variation pattern for precise matching; to circumvent the effects of half-duplex communication mode and environmental noise, this paper proposes matching indices rather than channel samples themselves; meanwhile, a noise perturbation scheme is designed to further alleviate ambiguity in the index matching process. Extensive experimental results demonstrate that SIM-SKG achieves high efficiency and accuracy across various scenarios of RSS and CSI channel measurements, completing error-free secret key generation of up to 2048 bits in only 1.7 milliseconds. Furthermore, theoretical analysis and experiments jointly verify the security of SIM-SKG against multiple types of attacks.

💡 Core Contributions

  • Proposes the SIM-SKG algorithm, enabling negotiation-free error-free secret key generation: By sorting channel samples and matching indices within each segment rather than directly matching channel measurements, the impact of asynchronous sampling caused by half-duplex communication and environmental noise on matching results is effectively reduced, achieving key agreement between legitimate parties without additional interaction.
  • Designs a multiplicative noise perturbation scheme to improve matching accuracy: To address the issue of repetitive segment patterns after sorting caused by similar channel measurement values, a multiplicative random matrix is introduced to expand the distribution of channel samples, statistically enlarging the gaps between similar measurement values, thereby effectively eliminating ambiguity in segment matching.
  • Develops a lightweight autonomous error correction mechanism and a re-matching mechanism: To address occasional index inconsistencies caused by noise, an autonomous error correction scheme requiring no information negotiation is designed, avoiding the communication overhead and security risks of multi-round interaction in traditional schemes; meanwhile, a re-matching mechanism is integrated to further enhance the key generation rate.
  • Conducts comprehensive security analysis, verifying resilience against five types of attacks: Theoretical analysis and experimental validation are conducted for random guessing attacks, inference attacks, imitation attacks, tracking attacks, and reverse attacks, respectively. Results show that the attacker's bit mismatch rate approaches 0.5 (equivalent to random guessing) under all attacks, demonstrating that SIM-SKG achieves information-theoretic security.

🔧 Method Overview

The core idea of SIM-SKG is: after sorting channel samples, each channel segment exhibits a unique monotonically increasing or decreasing variation pattern, laying the foundation for precise segment-level matching. The complete process consists of four stages.Noise perturbation stage, Alice and Bob each multiply their channel samples by the shared random matrix Π\PiΠ, broadening the original distribution and enlarging the gaps between similar measurement values.Sorting and segmentation stage, both parties sort the perturbed channel sequences and divide them into equal-length segments, obtaining their respective segment sequences, each with a unique monotonic variation pattern.Segment shuffling and index matching stage, Alice shuffles her own segment sequence in a random order RORORO and broadcasts it, while Bob finds the optimal match by comparing the closeness of sorted indices within each segment, thereby both parties agree on the permutation order RORORO without leaking channel measurement values.Autonomous error correction and privacy amplification stage, a lightweight error correction scheme is used to rectify a small number of index inconsistencies caused by noise, followed by privacy amplification to output the final key. The overall computational complexity is O(N2)O(N^2)O(N2), far lower than existing schemes based on bipartite graph matching.

📊 Experimental Results

SIM-SKG maintains a bit mismatch rate of 0 across all scenarios, while completing error-free secret key generation of 2048 bits in 1.7 milliseconds, with a time overhead of only approximately 1/40 that of the comparison method DP-SKG: As shown in Fig. 14 As shown, under the same segment length (5) and 256 RSS segments, SIM-SKG generates a 2048-bit key in only 1.7 milliseconds, with time overhead increasing very gently from 0.035 milliseconds to 6.2 milliseconds as key length grows; in contrast, DP-SKG incurs a time overhead exceeding 69 milliseconds, a gap of approximately 40 times.

📝 Citation

@article{du2025simskg,
  author    = {Yicong Du and Huan Dai and Hongbo Liu and Guyue Li and Yanzhi Ren and Ke Zhang},
  title     = {Efficient and Error-Free Secret Key Generation Leveraging Sorted Indices Matching},
  journal   = {IEEE Transactions on Mobile Computing},
  volume    = {24},
  number    = {2},
  pages     = {779--793},
  month     = feb,
  year      = {2025},
  doi       = {10.1109/TMC.2024.3465042}
}