主权项 |
1. A method for generating keys for exchanging information between devices, the method comprising:
selecting first bits from a shared secret key by a first processor unit comprising hardware in a first device, where the first bits have a selected length; sending second bits with the selected length in signals from the first device to a second device in which the signals have selected types of properties based on the first bits and in which the second bits are encoded in states for the selected types of properties; receiving the second bits by the second device; selecting third bits from a copy of the shared secret key by a second processor unit comprising hardware in the second device, where the third bits correspond to the first bits from the shared secret key in the first device; identifying an expected type of property for each of the second bits by the second device based on the third bits; determining for each second bit in the second bits received by the second device whether the second bit has the expected type of property for the second bit; sending an indication from the second device to the first device for identifying the second bits received by the second device determined to have the expected type of property; generating a first key by the first processor unit in the first device in which the first key is based on the second bits identified by the first device from the indication as having been received at the second device having the expected type of property; and generating a second key by the second processor unit in the second device in which the second key is based on the second bits received at the second device having the expected type of property. |