Patent ID: 8719573

Claim:
An electronic-device-implemented method for establishing a secure connection, the method comprising: computing a first hash value of a shared secret, wherein the shared secret was previously shared between a user of the electronic device and an other user of an other electronic device; computing a second hash value of at least one of a machine address code, an international mobile equipment identity, or a random number; generating a friendly name based on the first hash value and the second hash value; advertising the friendly name on a network, wherein the network includes the other electronic device; receiving a first confirmation from the other electronic device that the friendly name was received by the other electronic device, wherein the first confirmation is sent by the other electronic device when the other electronic device detects that the received friendly name of the electronic device has a greater sort order than a corresponding friendly name of the other electronic device; using the electronic device, generating a first encrypted message from an unencrypted message using a cryptographic key; providing the first encrypted message to the other electronic device; receiving a second encrypted message from the other electronic device; decrypting the second encrypted message using the cryptographic key; and receiving a second confirmation that the other electronic device was able to decrypt the first encrypted message, thereby confirming that the secure connection has been established.