Research Article

A Channel State Information-Based Key Generation Scheme for Internet of Things

Algorithm 1

Pseudocode of the proposed scheme for the combined scenario.
(1)let be estimated channel between and .
(2)let is the transmitted signal with power, , and phase, .
(3)let is the received signal with power, , and phase, .
(4)for each transmission do
(5) selects a sequence from RSS and lookup tables.
(6) estimates the channel .
(7) Using (8) and (9), calculates and of and transmits the signal.
(8) extracts the phase, , and magnitude, , of the received signal, .
(9) selects the sequences from RSS and lookup tables based on and .
(10)end