# US 2016/0241385 A1 · Apparatus and method for encrypting data in near field communication system

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

- Number: US 2016/0241385 A1
- Document ID: US20160241385A1
- Status: Published application
- Kind: A1
- Application number: 15/029,485
- Filed: 2014-10-16
- Published: 2016-08-18
- Earliest claimed: 2013-10-17
- Assignees: Samsung Electronics Co., Ltd.; Korea University Research and Business Foundation
- Applicants: Samsung Electronics Co., Ltd.; Korea University Research and Business Foundation
- Inventors: Jun HEO; Kyoung-Hoon KWON
- Web page: https://patentgrep.com/patent/US20160241385A1

## CPC

- H04L 9/06: the encryption apparatus using shift registers or memories for block-wise {or stream} coding, e.g. DES systems {or RC4; Hash functions; Pseudorandom sequence generators}
- H04W 12/00: Security arrangements; Authentication; Protecting privacy or anonymity
- H04W 12/03: Protecting confidentiality, e.g. by encryption
- H04W 12/80: Arrangements enabling lawful interception [LI]
- H04L 63/0492: {by using a location-limited connection, e.g. near-field communication or limited proximity of entities}
- H04L 2209/805: Lightweight hardware, e.g. radio-frequency identification [RFID] or sensor
- 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

A method for encrypting data in a near field communication system is provided. The method includes generating encrypted data based on first data input in a current state and second data input in a state immediately preceding the current state, and encoding the encrypted data through a predetermined error correcting code.

## Claims

### Claim 1

A method for encrypting data of a terminal in a near field communication system, the method comprising:
generating encrypted data based on first data input in a current state and second data input in a preceding state of the current state; and
encoding the encrypted data through a predetermined error correcting code.

### Claim 2 (depends on 1)

The method of claim 1, wherein the generating the encrypted data comprises:
generating the second data by delaying the first data; and
generating the encrypted data by performing modulo arithmetic on the first data and the second data.

### Claim 3 (depends on 1)

The method of claim 1, wherein the first data is feedforwarded so as to have a code rate 1.

### Claim 4 (depends on 1)

The method of claim 1, wherein a capacity of a secrecy channel for ensuring the security of data is calculated by a difference between a main channel capacity between the terminal and a predetermined legitimate terminal and a wiretap channel capacity of a wiretap terminal for wiretapping the main channel.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
the capacity of the secrecy channel is secured, if a first condition for ensuring the reliability of the data is satisfied and a second condition for ensuring the security of the data is satisfied, the first condition and the second condition being:
Pr{M≠MB}<ε,ε≈0: First Condition
I(M;ME)=H(M)−H(M|ME)=0: Second Condition
wherein, M denotes the first data input in the current state, MB denotes data received by the legitimate terminal, Pr{M≠MB} denotes that a probability of M and MB are not the same, ME denotes data received by the wiretap terminal, and H(M) denotes the uncertainty of M, and H(M|ME) denotes the uncertainty of ME.

### Claim 6

A method for reconstructing encrypted data of a terminal in a near field communication system, the method comprising:
decoding encrypted data input in a current state through a predetermined error correcting code; and
reconstructing original data by decrypting a code of the decoded data based on data reconstructed in a preceding state of the current state.

### Claim 7 (depends on 6)

The method of claim 6, wherein the reconstructing the original data comprises:
generating data reconstructed in the preceding state by delaying data reconstructed in the current state; and
decrypting the code of the decoded data by performing modulo arithmetic on the encrypted data input in the current state and the data reconstructed in the preceding state.

### Claim 8 (depends on 7)

The method of claim 7, wherein the decrypting the code of the decoded data comprises:
decoding a soft decision value of the decoded data by a predetermined number of times; and
determining the decoded soft decision value as a hard decision value when the soft decision value of the decoded data is decoded by the predetermined number of times.

### Claim 9

An apparatus for encrypting data in a near field communication system, the apparatus comprising:
a first encoder configured to generate encrypted data based on first data input in a current state and second data input in a preceding state of the current state; and
a second encoder configured to encode the encrypted data through a predetermined error correcting code.

### Claim 10 (depends on 9)

The apparatus of claim 9, wherein the first encoder comprises:
a delay device configured to delay the first data so as to generate the second data; and
a calculator configured to perform modulo arithmetic on the first data and the second data so as to generate the encrypted data.

### Claim 11 (depends on 10)

The apparatus of claim 10, wherein the first data is feedforwarded to the calculator so as to have a code rate 1.

### Claim 12 (depends on 8)

The apparatus of claim 8,
wherein a capacity of a secrecy channel for ensuring the security of data is calculated by a difference between a main channel capacity between a terminal and a predetermined legitimate terminal and a wiretap channel capacity of a wiretap terminal for wiretapping the main channel.

### Claim 13 (depends on 12)

The apparatus of claim 12, wherein the capacity of the secrecy channel is secured, if a first condition for ensuring the reliability of the data is satisfied and a second condition for ensuring the security of the data is satisfied, the first condition and the second condition being:
Pr{M≠MB}<ε,ε≈0: First Condition
I(M;ME)=H(M)−H(M|ME)=0: Second Condition
wherein, M denotes the first data input in the current state, MB denotes data received by the legitimate terminal, Pr{M≠MB} denotes that a probability of M and MB are not the same, ME denotes data received by the wiretap terminal, and H(M) denotes the uncertainty of M, and H(M|ME) denotes the uncertainty of ME.

### Claim 14

An apparatus for reconstructing encrypted data in a near field communication system, the apparatus comprising:
a first decoder configured to decode encrypted data input in a current state through a predetermined error correcting code; and
a second decoder configured to reconstruct original data by decrypting a code of the decoded data based on data reconstructed in a preceding state of the current state.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein the second decoder comprises:
a delay device configured to delay data reconstructed in the current state so as to generate data reconstructed in the preceding state; and
a calculator configured to perform modulo arithmetic on encrypted data input in the current state and data reconstructed in the preceding state so as to decrypt the code of the decoded data.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein the second decoder is further configured to:
decode a soft decision value of the decoded data by a predetermined number of times; and
if the soft decision value of the decoded data is decoded by the predetermined number of times, determine the decoded soft decision value as a hard decision value.

### Claim 17 (depends on 4)

The method of claim 4, wherein the capacity of the secrecy channel is calculated as:
C
=
{
1
2

log

(
1
+
P
σ
B
2
)
-
1
2

log

(
1
+
P
σ
E
2
)
}
+
wherein P denotes a received signal power, σB2 denotes a noise variance of the predetermined legitimate terminal, and σE2 denotes a noise variance amount of the wiretap terminal.

### Claim 18 (depends on 12)

The apparatus of claim 12, wherein the capacity of the secrecy channel is calculated as:
C
=
{
1
2

log

(
1
+
P
σ
B
2
)
-
1
2

log

(
1
+
P
σ
E
2
)
}
+
wherein P denotes a received signal power, σB2 denotes a noise variance of the predetermined legitimate terminal, and σE2 denotes a noise variance amount of the wiretap terminal.

### Claim 19 (depends on 8)

The method of claim 8, wherein the decoded soft decision value is feedforwarded so as to have a code rate 1.

### Claim 20 (depends on 16)

The apparatus of claim 16, wherein the decoded soft decision value is feedforwarded to the calculator so as to have a code rate 1.
