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

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

- Number: US 2024/0195607 A1
- Document ID: US20240195607A1
- Status: Published application
- Kind: A1
- Application number: 18/459,261
- Filed: 2023-08-31
- Published: 2024-06-13
- Earliest claimed: 2022-12-06
- Assignees: Kabushiki Kaisha Toshiba
- Applicants: Kabushiki Kaisha Toshiba
- Inventors: Koichiro AKIYAMA
- Web page: https://patentgrep.com/patent/US20240195607A1

## CPC

- H04L 9/0825: {using asymmetric-key encryption or public key infrastructure [PKI], e.g. key signature or public key certificates}
- H04L 9/3026: {details relating to polynomials generation, e.g. generation of irreducible polynomials}
- H04L 9/0869: {involving random numbers or seeds}
- 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 determined depending on a total degree of each term, and being symmetric for at least two variables; 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 determined depending on a total degree of each term, 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 n-variable symmetric indeterminate 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 an n-variable symmetric indeterminate equation X(x1, . . . , xn) as a public key, the n-variable symmetric indeterminate equation X(x1, . . . , xn) having, as a coefficient, an element that is less than or equal to a constant degree of a univariable polynomial ring Fp[t] on a finite field Fp and is determined depending on a total degree of each term, the n-variable symmetric indeterminate equation X(x1, . . . , xn) 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 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 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 that is less than or equal to a constant degree of the univariable polynomial ring Fp[t] as a coefficient and is determined depending on a total degree of each term, and being symmetric with respect to at least two variables, and randomly generate a noise polynomial e (x1, . . . , xn ) having an element 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 (x1, . . . , xn), the n-variable symmetric polynomial (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 key generation device comprising:
a memory; and
one or more processors coupled to the memory and configured to:
generate, as a public key, an n-variable indeterminate equation X(x1, . . . , xn) having, as a coefficient, an element that is less than or equal to a constant degree of a univariable polynomial ring Fp[t] on a finite field Fp and is determined depending on a total degree of each term, and acquire a prime number p, a degree d, a total degree Dx regarding variables x1, . . . , xn, and a degree dx,ν of a coefficient of a term of the total degree ν, which are used when one or more zero-points u of the n-variable indeterminate equation X(x1, . . . , xn) are generated as a private key;
generate n d-degree polynomials ux1(t), . . . , uxn(t) included in the univariable polynomial ring Fp[t], the n d-degree polynomials having n (d+1) random numbers from 0 to p-1 randomly generated as coefficients, and generate the dx,ν-degree polynomial τij(t) (i+j=ν≤Dx) that is a coefficient other than a constant term of the n-variable indeterminate equation X(x1, . . . , xn ) ;
calculate a provisional constant term of the n-variable indeterminate equation X(x1, . . . , xn) from the n polynomials ux1 (t), . . . , uxn (t) and the polynomial τij(t) (i+j=ν≤Dx), and generate the n-variable indeterminate equation X(x1, . . . , xn) based on a quotient and a remainder obtained by dividing the provisional constant term by a polynomial uxi(t)uxj(t); and
output the n polynomials ux1(t), . . . , uxn(t) as the private key and output the n-variable indeterminate equation X(x1, . . . , xn) as the public key.

### Claim 3 (depends on 2)

The device according to claim 2, wherein
the n-variable indeterminate equation X(x1, . . . , xn) is a symmetric indeterminate equation that is symmetric with respect to at least two variables, and
the one or more processors are configured to generate the dx,ν-degree polynomial τij(t) (i+j=ν≤Dx) to be τji(t)=τij(t).

### Claim 4

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 indeterminate equation X(x1, . . . , xn) having, as a coefficient, an element that is less than or equal to a constant degree of a univariable polynomial ring Fp[t] on a finite field Fp and is determined depending on a total degree of each term;
embed a plaintext M in coefficients of an n-variable plaintext polynomial mi(x1, . . . , xn ) (i=1, 2) having an element less than or equal to a constant degree of the univariable polynomial ring Fp[t] as a coefficient;
randomly generate an n-variable polynomial ri(x1, . . . , xn)having an element less than or equal to a constant degree of the univariable polynomial ring Fp[t] as a coefficient, randomly generate an n-variable polynomial si(x1, . . . , xn) having, as a coefficient, an element that is less than or equal to a constant degree of the univariable polynomial ring Fp[t] and is determined depending on a total degree of each term, and randomly generate a noise polynomial ei(x1, . . . , xn) having an element less than or equal to a constant degree of the univariable polynomial ring Fp[t] as a coefficient; and
generate a ciphertext ci(x1, . . . , xn) by encryption processing of performing an operation including at least one of addition, subtraction, and multiplication of the n-variable polynomial ri(x1, . . . , xn), the n-variable polynomial si(x1, . . . , xn), the noise polynomial e(x1, . . . , xn), and the n-variable indeterminate equation X(x1, . . . , xn)on the n-variable plaintext polynomial mi(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 an n-variable symmetric indeterminate equation X(x1, . . . , xn) as a public key, the n-variable symmetric indeterminate equation X(x1, . . . , xn) having, as a coefficient, an element that is less than or equal to a constant degree of a univariable polynomial ring Fp[t] on a finite field Fp and is determined depending on a total degree of each term, the n-variable symmetric indeterminate equation X(x1, . . . , xn) 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 less than or equal to a constant degree of the univariable polynomial ring Fp[t] as a coefficient;
randomly generating an n-variable polynomial (x1, . . . , xn) having an element 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 that is less than or equal to a constant degree of the univariable polynomial ring Fp[t] as a coefficient and is determined depending on a total degree of each term, and being symmetric with respect to at least two variables, and randomly generating a noise polynomial e(x1, . . . , xn) having an element 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 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 indeterminate equation X(x1, . . . , xn) having, as a coefficient, an element that is less than or equal to a constant degree of a univariable polynomial ring Fp[t] on a finite field Fp and is determined depending on a total degree of each term;
embedding a plaintext M in coefficients of an n-variable plaintext polynomial mi(x1, . . . , xn ) (i=1, 2) having an element less than or equal to a constant degree of the univariable polynomial ring Fp[t] as a coefficient;
randomly generating an n-variable polynomial ri(x1, . . . , xn) having an element less than or equal to a constant degree of the univariable polynomial ring Fp[t] as a coefficient, randomly generating an n-variable polynomial si(x1, . . . , xn) having, as a coefficient, an element that is less than or equal to a constant degree of the univariable polynomial ring Fp[t] and is determined depending on a total degree of each term, and randomly generating a noise polynomial ei(x1, . . . , xn) having an element less than or equal to a constant degree of the univariable polynomial ring Fp[t] as a coefficient; and
generating a ciphertext ci(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 polynomial si(x1, . . . , xn), the noise polynomial ei(x1, . . . , xn), and the n-variable indeterminate equation X(x1, . . . , xn)on the n-variable plaintext polynomial mi(x1, . . . , xn).
