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.
Legal claims defining the scope of protection, as filed with the USPTO.
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. 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. 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. 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. 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. 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.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
May 30, 2003
July 24, 2007
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.