# US 2024/0205006 A1 · Encryption device, decryption device, key generation device, encryption method, decryption method, key generation method, computer program product for encryption, computer program product for decryption, and computer program product for key generation

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

- Number: US 2024/0205006 A1
- Document ID: US20240205006A1
- Status: Published application
- Kind: A1
- Application number: 18/458,570
- Filed: 2023-08-30
- Published: 2024-06-20
- Earliest claimed: 2022-12-06
- Assignees: Kabushiki Kaisha Toshiba
- Applicants: Kabushiki Kaisha Toshiba
- Inventors: Koichiro AKIYAMA
- Web page: https://patentgrep.com/patent/US20240205006A1

## CPC

- H04L 9/3026: {details relating to polynomials generation, e.g. generation of irreducible polynomials}
- H04L 9/008: {involving homomorphic encryption}
- 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}
- H04L 9/3093: {involving Lattices or polynomial equations, e.g. NTRU scheme}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

According to one embodiment, an encryption device includes a memory and one or more processors. The one or more processors are configured to: acquire, as a public key, an n-variable symmetric indeterminate equation having an element not more than a constant degree of Fp[t] and being symmetric for at least two variables; embed the plaintext into coefficients of an n-variable plaintext polynomial having an element not more than a constant degree of Fp[t]; randomly generate an n-variable polynomial having an element not more than a constant degree of Fp[t], randomly generate an n-variable symmetric polynomial having an element not more than a constant degree of Fp[t] and being symmetric for at least two variables, and randomly generate a noise polynomial having an element not more than a constant degree of Fp[t]; and generate a ciphertext from the three polynomials and the equation for the n-variable plaintext polynomial.

## Claims

### Claim 1

An encryption device comprising:
a memory; and
one or more processors coupled to the memory and configured to:
acquire, as a public key, an n-variable symmetric indeterminate equation X (x1, . . . , xn) having, as a coefficient, an element of less than or equal to a constant degree of a univariable polynomial ring Fp[t] on a finite field Fp and being symmetric with respect to at least two variables;
embed a plaintext M in coefficients of an n-variable plaintext polynomial m (x1, . . . , xn) having an element of less than or equal to a constant degree of the univariable polynomial ring Fp[t] as a coefficient;
randomly generate an n-variable polynomial r (x1, . . . , xn) having an element of less than or equal to a constant degree of the univariable polynomial ring Fp[t] as a coefficient, randomly generate an n-variable symmetric polynomial s (x1, . . . , xn) having an element of less than or equal to a constant degree of the univariable polynomial ring Fp[t] as a coefficient and being symmetric with respect to at least two variables, and randomly generate a noise polynomial e (x1, . . . , xn) having an element of less than or equal to a constant degree of the univariable polynomial ring Fp[t] as a coefficient; and
generate a ciphertext c (x1, . . . , xn) by encryption processing of performing an operation including at least one of addition, subtraction, and multiplication of the n-variable polynomial r (x1, . . . , xn), the n-variable symmetric polynomial s (x1, . . . , xn), the noise polynomial e (x1, . . . , xn), and the n-variable symmetric indeterminate equation X (x1, . . . , xn) on the n-variable plaintext polynomial m (x1, . . . , xn).

### Claim 2

A decryption device comprising:
a memory; and
one or more processors coupled to the memory and configured to:
acquire, as a private key, one or more zero-points u of an n-variable symmetric indeterminate equation X (x1, . . . , xi, . . . , xj, . . . , xn) having an element of less than or equal to a constant degree of a univariable polynomial ring Fp[t] on a finite field Fp as a coefficient and being symmetric with respect to at least two variables xi and xj (1≤i<j≤n);
generate a univariable polynomial h1(t) by substituting the zero-point u into a ciphertext c (x1, . . . , xn), and generate a univariable polynomial h2(t) by substituting the zero-point u into a ciphertext c (x1, . . . , xi, . . . , xj, . . . , xn) obtained by inverting the variable xi and the variable xj of the ciphertext c (x1, . . . , xj, . . . , xi, . . . , xn);
calculate an approximate GCD (Greatest Common Divisor) of the univariable polynomial hk(t) (k=1, 2) to obtain a univariable polynomial m (u) obtained by substituting the zero-point u into an n-variable plaintext polynomial m (x1, . . . , xn);
obtain a plaintext polynomial m (x1, . . . , xn) by solving simultaneous linear equations derived from the univariable polynomial m(u) and the one or more zero-points u; and
decrypt a plaintext M from coefficients of the plaintext polynomial m (x1, . . . , xn).

### Claim 3

An encryption method comprising:
acquiring, by an encryption device, as a public key, an n-variable symmetric indeterminate equation X (x1, . . . , xn) having, as a coefficient, an element of less than or equal to a constant degree of a univariable polynomial ring Fp[t] on a finite field Fp and being symmetric with respect to at least two variables;
embedding, by the encryption device, a plaintext M in coefficients of an n-variable plaintext polynomial m (x1, . . . , xn) having an element of less than or equal to a constant degree of the univariable polynomial ring Fp[t] as a coefficient;
by the encryption device, randomly generating an n-variable polynomial r (x1, . . . , xn) having an element of less than or equal to a constant degree of the univariable polynomial ring Fp[t] as a coefficient, randomly generating an n-variable symmetric polynomial s (x1, . . . , xn) having an element of less than or equal to a constant degree of the univariable polynomial ring Fp[t] as a coefficient and being symmetric with respect to at least two variables, and randomly generating a noise polynomial e (x1, . . . , xn) having an element of less than or equal to a constant degree of the univariable polynomial ring Fp[t] as a coefficient; and
generating, by the encryption device, a ciphertext c (x1, . . . , xn) by encryption processing of performing an operation including at least one of addition, subtraction, and multiplication of the n-variable polynomial r (x1, . . . , xn), the n-variable symmetric polynomial s (x1, . . . , xn), the noise polynomial e (x1, . . . , xn), and the n-variable symmetric indeterminate equation X (x1, . . . , xn) on the n-variable plaintext polynomial m (x1, . . . , xn).

### Claim 4

A decryption method comprising:
acquiring, by a decryption device, as a private key, one or more zero-points u of an n-variable symmetric indeterminate equation X (x1, . . . , xi, . . . , xj, . . . , xn) having an element of less than or equal to a constant degree of a univariable polynomial ring Fp[t] on a finite field Fp as a coefficient and being symmetric with respect to at least two variables xi and xj (1≤i<j≤n);
by the decryption device, generating a univariable polynomial h1(t) by substituting the zero-point u into a ciphertext c (x1, . . . , xn), and generating a univariable polynomial h2(t) by substituting the zero-point u into a ciphertext c (x1, . . . , xj, . . . , xi, . . . , xn) obtained by inverting the variable xi and the variable xj of the ciphertext c (x1, . . . , xj, . . . , xi, . . . , xn);
calculating, by the decryption device, an approximate GCD (Greatest Common Divisor) of the univariable polynomial hk(t) (k=1, 2) to obtain a univariable polynomial m (u) obtained by substituting the zero-point u into an n-variable plaintext polynomial m (x1, . . . , xn);
obtaining, by the decryption device, a plaintext polynomial m (x1, . . . , xn) by solving simultaneous linear equations derived from the univariable polynomial m(u) and the one or more zero-points u; and
decrypting, by the decryption device, a plaintext M from coefficients of the plaintext polynomial m (x1, . . . , xn).

### Claim 5

A computer program product for encryption comprising a non-transitory computer-readable medium including programmed instructions, the instructions causing a computer to execute:
acquiring, as a public key, an n-variable symmetric indeterminate equation X (x1, . . . , xn) having, as a coefficient, an element of less than or equal to a constant degree of a univariable polynomial ring Fp[t] on a finite field Fp and being symmetric with respect to at least two variables;
embedding a plaintext M in coefficients of an n-variable plaintext polynomial m (x1, . . . , xn) having an element of less than or equal to a constant degree of the univariable polynomial ring Fp[t] as a coefficient;
randomly generating an n-variable polynomial r (x1, . . . , xn) having an element of less than or equal to a constant degree of the univariable polynomial ring Fp[t] as a coefficient, randomly generating an n-variable symmetric polynomial s (x1, . . . , xn) having an element of less than or equal to a constant degree of the univariable polynomial ring Fp[t] as a coefficient and being symmetric with respect to at least two variables, and randomly generating a noise polynomial e (x1, . . . , xn) having an element of less than or equal to a constant degree of the univariable polynomial ring Fp[t] as a coefficient; and
generating a ciphertext c(x1, . . . , xn) by encryption processing of performing an operation including at least one of addition, subtraction, and multiplication of the n-variable polynomial r (x1, . . . , xn), the n-variable symmetric polynomial s (x1, . . . , xn), the noise polynomial e (x1, . . . , xn), and the n-variable symmetric indeterminate equation X (x1, . . . , xn) on the n-variable plaintext polynomial m (x1, . . . , xn).

### Claim 6

A computer program product for decryption comprising a non-transitory computer-readable medium including programmed instructions, the instructions causing a computer to execute:
acquiring, as a private key, one or more zero-points u of an n-variable symmetric indeterminate equation X (x1, . . . , xi, . . . , xj, . . . , xn) having an element of less than or equal to a constant degree of a univariable polynomial ring Fp[t] on a finite field Fp as a coefficient and being symmetric with respect to at least two variables xi and xj (1≤i<j≤n);
generating a univariable polynomial h1(t) by substituting the zero-point u into a ciphertext c (x1, . . . , xn), and generating a univariable polynomial h2(t) by substituting the zero-point u into a ciphertext c(x1, . . . , xi, . . . , xj, . . . , xn) obtained by inverting the variable xi and the variable xj of the ciphertext c (x1, . . . , xj, . . . , xi, . . . , xn);
calculating an approximate GCD (Greatest Common Divisor) of the univariable polynomial hk(t) (k=1, 2) to obtain a univariable polynomial m(u) obtained by substituting the zero-point u into an n-variable plaintext polynomial m (x1, . . . , xn);
obtaining a plaintext polynomial m(x1, . . . , xn) by solving simultaneous linear equations derived from the univariable polynomial m(u) and the one or more zero-points u; and
decrypting a plaintext M from coefficients of the plaintext polynomial m (x1, . . . , xn).
