Patentable/Patents/US-7248692
US-7248692

Method of and apparatus for determining a key pair and for generating RSA keys

PublishedJuly 24, 2007
Assigneenot available in USPTO data we have
Inventorsnot available in USPTO data we have
Technical Abstract

In a method of determining a pair of numbers comprising a first number and a second number, in which the first number may be a first key and the second number may be a second key of an encryption system and the second number is the multiplicative inverse with respect to a modulus of the first number, said modulus being equal to the product of a first prime number and a second prime number, the first number is selected first. Thereafter, a first sub-number for the second number is computed as a multiplicative inverse of the first number with respect to a first sub-modulus that is equal to the first prime number minus 1 divided by the greatest common divisor of the first prime number minus 1 and the second prime number minus 1. Then, a second sub-number for the second number is computed as multiplicative inverse of the first number with respect to a second sub-modulus that is equal to the second prime number minus 1, with said first sub-modulus and said second sub-modulus being relatively prime. Finally, the second number is determined using the first sub-number and the second sub-number by means of the Chinese remainder theorem. By utilization of the Chinese remainder theorem, the operation of forming the multiplicative inverse is transformed to two corresponding operations with shorter numbers and a fast combination step, so that an acceleration by the factor of 4 is obtained as compared to a method without Chinese remainder theorem.

Patent Claims
6 claims

Legal claims defining the scope of protection, as filed with the USPTO.

1

1. A method of determining a pair of numbers comprising a first number and a second number, the second number being the multiplicative inverse with respect to a modulus of the first number, said modulus being equal to the product of a first prime number and a second prime number, said method comprising the steps of: selecting the first number; computing a first subnumber for the second number as a multiplicative inverse of the first number with respect to a first sub-modulus that is equal to the first prime number minus 1 divided by the greatest common divisor of the first prime number minus 1 and the second prime number minus 1; computing a second subnumber for the second number a multiplicative inverse of the first number with respect to a second sub-modulus that is equal to the second prime number minus 1, with said first sub-modulus and said second sub-modulus being relatively prime; determining the second number using the first sub-number and the second sub-number by means of the Chinese remainder theorem; storing the second number as a private key; and outputting at least one of the first and second numbers for use as a key in a cryptosystem.

2

2. A method according to claim 1 , wherein the first number and the second number are a key pair, one key serving as public key and a second key serving as the private key of an asymmetric encryption system.

3

3. A method according to claim 1 , wherein said step of computing the first sub-number and said step of computing the second sub-number make use of the extended Euclidean algorithm.

5

5. A method of generating keys for an RSA encryption system, comprising the steps of: selecting two prime numbers; computing the product of the prime numbers; determining a pair of numbers comprising a first number and a second number, the second number being the multiplicative inverse with respect to a modulus of the first number, said modulus being equal to the product of a first prime number and a second prime number, step of determining method comprising the steps of: selecting the first number; computing a first sub-number for the second number as a multiplicative inverse of the first number with respect to a first sub-modulus that is equal to the first prime number minus 1 divided by the greatest common divisor of the first prime number minus 1 and the second prime number minus 1; computing a second sub-number for the second number as multiplicative inverse of the first number with respect to a second submodulus that is equal to the second prime number minus 1, with said first sub-modulus and said second sub-modulus being relatively prime; and determining the second number using the first sub-number and the second sub-number by means of the Chinese remainder theorem; outputting the product of the prime numbers and the first number of said pair of numbers as public key; and storing the second number as private key.

6

6. An apparatus for determining a pair of numbers comprising a first number and a second number, the second number being the multiplicative inverse with respect to a modulus of the first number, said modulus being equal to the product of a first prime number and a second prime number, said apparatus comprising: a means for selecting the first number; a means for computing a first sub-number for the second number as a multiplicative inverse of the first number with respect to a first sub-modulus that is equal to the first prime number minus 1 divided by the greatest common divisor of the first prime number minus 1 and the second prime number minus 1; a means for computing a second sub-number for the second number as multiplicative inverse of the first number with respect to a second sub-modulus that is equal to the second prime number minus 1, with said first sub-modulus and said second sub-modulus being relatively prime; a means for determining the second number using the first sub-number and the second sub-number by means of the Chinese remainder theorem; a means for storing the second number as a private key; and means for outputting at least one of the first and second numbers for use as a key in a cryptosystem.

7

7. An apparatus for generating keys for an RSA encryption system, comprising: a means for selecting two prime numbers; a means for computing the product of the prime numbers; a means for determining a pair of numbers comprising a first number and a second number, the second number being the multiplicative inverse with respect to a modulus of the first number, said modulus being equal to the product of a first prime number and a second prime number, said means for determining comprising: a means for selecting the first number; a means for computing a first sub-number for the second number as a multiplicative inverse of the first number with respect to a first sub-modulus that is equal to the first prime number minus 1 divided by the greatest common divisor of the first prime number minus 1 and the second Prime number minus 1; a means for computing a second sub-number for the second number as multiplicative inverse of the first number with respect to a second sub-modulus that is equal to the second prime number minus 1, with said first sub-modulus and said second sub-modulus being relatively prime; and a means for determining the second number using the first sub-number arid the second sub-number by means of the Chinese remainder theorem; a means for outputting said product and the first number of said pair of numbers as public key; and a means for storing the second number as private key.

Classification Codes (CPC)

Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.

Patent Metadata

Filing Date

May 30, 2003

Publication Date

July 24, 2007

Want to explore more patents?

Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.

Citation & reuse

Analysis on this page is generated by Patentable — an AI-powered patent intelligence platform. AI-generated summaries, explanations, and analysis may be reused with attribution and a visible link back to the canonical URL below. Patent abstracts and claims are USPTO public domain.

Cite as: Patentable. “Method of and apparatus for determining a key pair and for generating RSA keys” (US-7248692). https://patentable.app/patents/US-7248692

© 2026 Patentable. All rights reserved.

Patentable is a research and drafting-assistant tool, not a law firm, and does not provide legal advice. Documents we generate are drafts for review by a licensed patent attorney.