| CPC H04L 9/0869 (2013.01) [H04L 9/14 (2013.01)] | 10 Claims |

|
1. A key generation method comprising:
obtaining a channel characteristic parameter of a wireless channel;
generating a key according to the channel characteristic parameter;
capturing after continuously generating multiple keys, a first key matrix formed by a plurality of the keys by means of a sliding window having a preset length, to obtain a second key matrix;
determining a correlation between keys in the second key matrix, and performing key substitution on the keys in the second key matrix when the correlation between the keys in the second key matrix is greater than a preset threshold; and
adding the keys in the second key matrix to a key pool until the number of the keys in the key pool reaches a preset number.
|