| CPC H04L 63/123 (2013.01) [H04L 9/0838 (2013.01); H04L 9/0891 (2013.01); H04L 63/0442 (2013.01); H04L 63/061 (2013.01); H04W 12/033 (2021.01)] | 20 Claims |

|
1. An apparatus of a mobile device, the apparatus comprising:
one or more processors; and
one or more memories storing instructions that when executed, configure the one or more processors to perform operations comprising:
causing an image capturing device of the mobile device to capture an image;
determining a public key of a communication partner by decoding unencrypted data encoded within the image, the unencrypted data comprising the public key;
receiving a wireless communication comprising a message;
verifying, based on decrypting at least of portion of the message using the public key, that the message is from the communication partner;
in response to a verification that the message is from the communication partner,
causing an indication that the message is verified to be displayed on a screen of the mobile device;
determining a shared secret of the mobile device and the communication partner according to an equation: s=B a mod p, wherein B indicates the public key of the communication partner, p is a prime number that exceeds a threshold, and g is a primitive root modulo p; and
encrypting, for transmission to the communication partner, a second message using the shared secret.
|