# US 2022/0046029 A1 · Data comprising encryption key

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0046029 A1
- Document ID: US20220046029A1
- Status: Published application
- Kind: A1
- Application number: 17/445,553
- Filed: 2021-08-20
- Published: 2022-02-10
- Earliest claimed: 2016-04-15
- Assignees: Snap Inc.
- Applicants: Snap Inc.
- Inventors: Subhash Sankuratripati
- Web page: https://patentgrep.com/patent/US20220046029A1

## CPC

- H04L 63/123: {received data contents, e.g. message integrity}
- H04L 9/0838: {Key agreement, i.e. key establishment technique in which a shared key is derived by parties as a function of information contributed by, or associated with, each of these (network architectures or network communication protocols for key exchange in a packet data network H04L63/061)}
- H04L 9/0891: {Revocation or update of secret information, e.g. encryption key update or rekeying}
- H04L 63/0442: {wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption (cryptographic mechanisms or cryptographic arrangements for public-key encryption H04L9/30)}
- H04L 63/061: {for key exchange, e.g. in peer-to-peer networks (cryptographic mechanisms or cryptographic arrangements for key agreement H04L9/0838)}
- H04W 12/033: of the user plane, e.g. user's traffic
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

Systems and methods for end to end encryption are provided. In example embodiments, a computer accesses an image including a geometric shape. The computer determines that the accessed image includes a candidate shape inside the geometric shape. The computer determines, using the candidate shape, an orientation of the geometric shape. The computer determines a public key of a communication partner device by decoding, based on the determined orientation, data encoded within the geometric shape. The computer receives a message. The computer verifies, based on the public key of the communication partner device, whether the message is from the communication partner device. The computer provides an output including the message and an indication of the communication partner device if the message is verified to be from the communication partner device. The computer provides an output indicating an error if the message is not verified to be from the communication partner device.

## Claims

### Claim 1

A method comprising:
accessing an image;
processing the image to determine, by decoding data encoded in the image, a public encryption key and an online account associated with the public encryption key; and
encrypting, based on the public encryption key, a message to the online account.

### Claim 2 (depends on 1)

The method of claim 1 further comprising:
sending, via a wireless network, the message to the online account.

### Claim 3 (depends on 2)

The method of claim 2 wherein the message is a first message and wherein the method further comprising:
receiving, via the wireless network, a second message in response to the first message; and
decrypting, based on the public encryption key, the second message.

### Claim 4 (depends on 3)

The method of claim 3 further comprising:
verifying, based on the public encryption key, whether the second message is from the online account.

### Claim 5 (depends on 3)

The method of claim 3 wherein the public encryption key is a first public encryption key, the message is a first message, and wherein the method further comprises:
encrypting, based on the first public encryption key, a second public encryption key;
sending, via the wireless network, the second message to the online account;
encrypting, based on a private encryption key corresponding to the second public encryption key, a third message; and
sending, via the wireless network, the third message to the online account.

### Claim 6 (depends on 4)

The method of claim 4 further comprising:
in response to a verification the second message is from the online account, causing to be displayed the decrypted second message.

### Claim 7 (depends on 1)

The method of claim 1 wherein accessing the image comprises:
capturing, using an optical sensor of a computering device, the image.

### Claim 8 (depends on 7)

The method of claim 7 wherein the image is displayed on a poster, a computer display, an article of clothing, or a piece of printed paper.

### Claim 9 (depends on 1)

The method of claim 1 wherein the image comprises a geometric shape, and wherein the method further comprises:
determining that the accessed image includes a candidate shape inside the geometric shape;
determining, using the candidate shape, an orientation of the geometric shape; and
determining the public encryption key by decoding, based on the determined orientation, the data encoded within the geometric shape.

### Claim 10 (depends on 9)

The method of claim 9 further comprising:
identifying the geometric shape based on comparing the geometric shape to stored shapes.

### Claim 11 (depends on 9)

The method of claim 9 further comprising:
extracting spatial attributes of the candidate shape; and
comparing the extracted spatial attributes to stored spatial attributes to determine the orientation of the geometric shape.

### Claim 12 (depends on 9)

The method of claim 9 further comprising:
determining the data based on comparing the geometric shape with a stored geometric shape, wherein the data is encoded with a blank being a zero and a dot being a 1.

### Claim 13 (depends on 1)

The method of claim 1 wherein the image is a barcode.

### Claim 14 (depends on 1)

The method of claim 1 further comprising:
processing the image to identify an optical barcode, the optical barcode comprising the data.

### Claim 15 (depends on 1)

The method of claim 1 further comprising:
adding a member associated with the online account as a friend within a connection network.

### Claim 16

A system comprising:
hardware processing circuitry;
a hardware memory storing instructions that when executed, configure the hardware processing circuitry to perform operations comprising:
accessing an image;
processing the image to determine, by decoding data encoded in the image, a public encryption key and an online account associated with the public encryption key; and
encrypting, based on the public encryption key, a message to the online account.

### Claim 17 (depends on 16)

The system of claim 16 wherein the operations further comprise:
sending, via a wireless network, the message to the online account.

### Claim 18 (depends on 16)

The system of claim 16 wherein the message is a first message and wherein the operations further comprise
receiving, via the wireless network, a second message in response to the first message; and
decrypting, based on the public encryption key, the second message.

### Claim 19

A non-transitory computer readable medium comprising instructions that when executed configure hardware processing circuitry to perform operations comprising:
accessing an image;
processing the image to determine, by decoding data encoded in the image, a public encryption key and an online account associated with the public encryption key; and
encrypting, based on the public encryption key, a message to the online account.

### Claim 20 (depends on 19)

The A non-transitory computer readable medium of claim 19 wherein the operations further comprise:
sending, via a wireless network, the message to the online account.
