Information security device, prime number generation device, and prime number generation method
First Claim
1. An information security device that handles predetermined information securely and reliably based on an intractability of factorization, by generating two primes and using a multiplication of the two primes, said device comprising:
- an acquiring unit operable to acquire a known prime q and n number of known primes L1, L2, . . . , Ln, where L1, L2, . . . , Ln are primes, other than 2, that are smaller than the prime q, and the prime q satisfies q=1 mod Li (i=1, 2, . . . , n);
a generating unit operable to generate a number N whose bit length is twice as large as a bit length of the prime q, where numbers that relate to any of the primes L1, L2, . . . , Ln are excluded from the generation of the number N; and
a judging unit operable to judge primality of the number N, and output the number N as a prime if the number N is judged as being prime,wherein the generating unit is operable to generate the number N that satisfies N=1 mod Li (i=1, 2, . . . , n), andwherein the generating unit includes;
a random number generating unit operable to generate a random number R′
whose bit length is (Lenq−
LenL−
1), where Lenq is the bit length of the prime q and LenL is a bit length of (L1×
L2×
. . . ×
Ln); and
a judgement target generating unit operable to (a) generate a number R
R=L1×
L2×
. . . ×
Ln×
R′
using the random number R′ and
the primes L1, L2, . . . , Ln, and (b) generate the number N
N=2×
R×
q+1using the prime q and the number R, andwherein the judging unit judges the primality of the number N, using the number N and the number R generated by the judgement target generating unit.
2 Assignments
0 Petitions
Accused Products
Abstract
An information security device receives an input of prime q, and generates prime N that is larger than prime q. In the information security device, a partial information setting unit generates number u such that 2×u×q+1≠0 mod Li (i=1, 2, . . . , n). A random number generating unit generates random number R′. A judgement target generating unit generates R=u+L1×L2× . . . ×Ln×R′ and N=2×R×q+1, using number u and random number R′. A primality judging unit judges the primality of number N, using numbers N and R generated by the judgement target generating unit.
4 Citations
13 Claims
-
1. An information security device that handles predetermined information securely and reliably based on an intractability of factorization, by generating two primes and using a multiplication of the two primes, said device comprising:
-
an acquiring unit operable to acquire a known prime q and n number of known primes L1, L2, . . . , Ln, where L1, L2, . . . , Ln are primes, other than 2, that are smaller than the prime q, and the prime q satisfies q=1 mod Li (i=1, 2, . . . , n); a generating unit operable to generate a number N whose bit length is twice as large as a bit length of the prime q, where numbers that relate to any of the primes L1, L2, . . . , Ln are excluded from the generation of the number N; and a judging unit operable to judge primality of the number N, and output the number N as a prime if the number N is judged as being prime, wherein the generating unit is operable to generate the number N that satisfies N=1 mod Li (i=1, 2, . . . , n), and wherein the generating unit includes; a random number generating unit operable to generate a random number R′
whose bit length is (Lenq−
LenL−
1), where Lenq is the bit length of the prime q and LenL is a bit length of (L1×
L2×
. . . ×
Ln); anda judgement target generating unit operable to (a) generate a number R
R=L1×
L2×
. . . ×
Ln×
R′using the random number R′ and
the primes L1, L2, . . . , Ln, and (b) generate the number N
N=2×
R×
q+1using the prime q and the number R, and wherein the judging unit judges the primality of the number N, using the number N and the number R generated by the judgement target generating unit. - View Dependent Claims (2)
-
-
3. An information security device that handles predetermined information securely and reliably based on an intractability of factorization, by generating two primes and using a multiplication of the two primes, said device comprising:
-
an acquiring unit operable to acquire a known prime q and n number of known primes L1, L2, . . . , Ln, where L1, L2, . . . , Ln are primes, other than 2, that are smaller than the prime q, and the prime q satisfies q=1 mod Li (i=1, 2, . . . , n); a generating unit operable to generate a number N whose bit length is twice as large as a bit length of the prime q, where numbers that relate to any of the primes L1, L2, . . . , Ln are excluded from the generation of the number N; and a judging unit operable to judge primality of the number N, and output the number N as a prime if the number N is judged as being prime, wherein the generating unit includes; a partial information generating unit operable to generate a number u that satisfies
2×
u×
q1≠
0 mod Li(i=1, 2, . . . , n)using the prime q; a random number generating unit operable to generate a random number R′
; anda judgement target generating unit operable to (a) generate a number R
R=u+L1×
L2×
. . . ×
Ln×
R′using the primes L1, L2, . . . , Ln the number u, and the random number R′
, and (b) generate the number N
N=2×
R×
R×
q+1using the prime q and the number R, and wherein the judging unit judges the primality of the number N, using the number N and the number R generated by the judgement target generating unit. - View Dependent Claims (4, 5)
-
-
6. An IC card that handles predetermined information securely and reliably based on an intractability of factorization, by generating two primes and using a multiplication of the two primes, said IC card comprising:
-
an acquiring unit operable to acquire a known prime q and n number of known primes L1, L2, . . . , Ln, where L1, L2, . . . , Ln are primes, other than 2, that are smaller than the prime q, and the prime q satisfies q=1 mod Li (i=1, 2, . . . , n); a generating unit operable to generate a number N whose bit length is twice as large as a bit length of the prime q, where numbers that relate to any of the primes L1, L2, . . . , Ln are excluded from the generation of the number N; and a judging unit operable to judge primality of the number N, and output the number N as a prime if the number N is judged as being prime, wherein the generating unit is operable to generate the number N that satisfies N=1 mod Li (i=1, 2, . . . , n), wherein the generating unit includes; a random number generating unit operable to generate a random number R′
whose bit length is (Lenq−
LenL−
1), where Lenq is the bit length of the prime q and LenL is a bit length of (L1×
L2×
. . . ×
Ln); anda judgement target generating unit operable to (a) generate a number R
R=L1×
L2×
. . . ×
Ln×
R′using the random number R′ and
the primes L1, L2, . . . , Ln, and (b) generate the number N
N2×
R×
q+1using the prime q and the number R, and wherein the judging unit judges the primality of the number N, using the number N and the number R generated by the judgement target generating unit.
-
-
7. A prime number generation device for generating a prime, said device comprising:
-
an acquiring unit operable to acquire a known prime q and n number of known primes L1, L2, . . . , Ln, where L1, L2, . . . , Ln are primes, other than 2, that are smaller than the prime q, and the prime q satisfies q=1 mod Li (i=1, 2, . . . , n); a generating unit operable to generate a number N whose bit length is twice as large as a bit length of the prime q, where numbers that relate to any of the primes L1, L2, . . . , Ln are excluded from the generation of the number N; and a judging unit operable to judge primality of the number N, and output the number N as a prime if the number N is judged as being prime, wherein the generating unit is operable to generate the number N that satisfies N=1 mod Li(i=1, 2, . . . , n), wherein the generating unit includes; a random number generating unit operable to generate a random number R′
whose bit length is (Lenq−
LenL−
1), where Lenq is the bit length of the prime q and LenL is a bit length of (L1×
L2×
. . . ×
Ln); anda judgement target generating unit operable to (a) generate a number R
R=L1×
L2×
. . . ×
Ln×
R′using the random number R′
the primes L1, L2, . . . , Ln and (b) generate the number N
N=2×
R×
q+1using the prime q and the number R, and wherein the judging unit judges the primality of the number N, using the number N and the number R generated by the judgement target generating unit.
-
-
8. A prime number generation method used in a prime number generation device for generating a prime, said method comprising:
-
acquiring a known prime q and n number of known primes L1, L2, . . . , Ln where L1, L2, . . . , Ln are primes, other than 2, that are smaller than the prime q, and the prime q satisfies q=1 mod Li (i=1, 2, . . . , n); generating a number N whose bit length is twice as large as a bit length of the prime q, where numbers that relate to any of the primes L1, L2, . . . , Ln are excluded from the generation of the number N; and judging primality of the number N, and outputting the number N as a prime if the number N is judged as being prime, wherein said step of generating comprises; generating the number N that satisfies N=1 mod Li (i=1, 2, . . . , n); generating a random number R′
whose bit length is (Lenq−
LenL−
1), where Lenq is the bit length of the prime q and LenL is a bit length of (L1×
L2×
. . . ×
Ln); andgenerating a number R, where R=L1×
L2×
. . . ×
Ln×
R′
, using the random number R′ and
the primes L1, L2, . . . , Ln, and generating the number N, where N=2×
R×
q+1, using the prime q and the number R, andwherein said step of judging comprises judging the primality of the number N, using the number N and the number R generated in said step of generating.
-
-
9. A prime number generation program embodied on a computer-readable medium, and used in a computer for generating a prime, said program causing the computer to execute a method comprising:
-
acquiring a known prime q and n number of known primes L1, L2, . . . , Ln, where L1, L2, . . . , Ln are primes, other than 2, that are smaller than the prime q, and the prime q satisfies q=1 mod Li (i=1, 2, . . . , n); generating a number N whose bit length is twice as large as a bit length of the prime q, where numbers that relate to any of the primes L1, L2, . . . , Ln are excluded from the generation of the number N; and judging primality of the number N, and outputting the number N as a prime if the number N is judged as being prime, wherein said step of generating comprises; generating the number N that satisfies N=1 mod Li (i=1, 2, . . . , n); generating a random number R′
whose bit length is (Lenq−
LenL−
1), where Lenq is the bit length of the prime q and LenL is a bit length of (L1×
L2×
. . . ×
Ln); andgenerating a number R, where R=L1×
L2×
. . . ×
Ln×
R′
, using the random number R′ and
the primes L1, L2, . . . , Ln, and generating the number N, where N=2×
R×
q+1, using the prime q and the number R, andwherein said step of judging comprises judging the primality of the number N, using the number N and the number R generated in said step of generating.
-
-
10. An IC card that handles predetermined information securely and reliably based on an intractability of factorization, by generating two primes and using a multiplication of the two primes, said IC card comprising:
-
an acquiring unit operable to acquire a known prime q and n number of known primes L1, L2, . . . , Ln, where L1, L2, . . . , Ln are primes, other than 2, that are smaller than the prime q, and the prime q satisfies q=1 mod Li (i=1, 2, . . . , n); a generating unit operable to generate a number N whose bit length is twice as large as a bit length of the prime q, where numbers that relate to any of the primes L1, L2, . . . , Ln are excluded from the generation of the number N; and a judging unit operable to judge primality of the number N, and output the number N as a prime if the number N is judged as being prime, wherein the generating unit includes; a partial information generating unit operable to generate a number u that satisfies
2×
u×
q++1≠
0 mod Li (i=1, 2, . . . , n)using the prime q; a random number generating unit operable to generate a random number R′
; anda judgement target generating unit operable to (a) generate a number R
R=u+L1×
L2×
. . . ×
Ln×
R′using the primes L1, L2, . . . , Ln, the number u, and the random number R′
, and (b) generate the number N
N=2×
R×
q+1using the prime q and the number R, and wherein the judging unit judges the primality of the number N, using the number N and the number R generated by the judgement target generating unit.
-
-
11. A prime number generation device for generating a prime, said device comprising:
-
an acquiring unit operable to acquire a known prime q and n number of known primes L1, L2, . . . , Ln, where L1, L2, . . . , Ln are primes, other than 2, that are smaller than the prime q, and the prime q satisfies q=1 mod Li (i=1, 2, . . . , n); a generating unit operable to generate a number N whose bit length is twice as large as a bit length of the prime q, where numbers that relate to any of the primes L1, L2, . . . , Ln are excluded from the generation of the number N; and a judging unit operable to judge primality of the number N, and output the number N as a prime if the number N is judged as being prime, wherein the generating unit includes; a partial information generating unit operable to generate a number u that satisfies
2×
u×
q+1≠
0 mod Li (i=1, 2, . . . , n)using the prime q; a random number generating unit operable to generate a random number R′
; anda judgement target generating unit operable to (a) generate a number R
R=u+L1×
L2×
. . . ×
Ln×
R′using the primes L1, L2, . . . , Ln, the number u, and the random number R′
, and (b) generate the number N
N=2×
R×
q+1using the prime q and the number R, and wherein the judging unit judges the primality of the number N, using the number N and the number R generated by the judgement target generating unit.
-
-
12. A prime number generation method used in a prime number generation device for generating a prime, said method comprising:
-
acquiring a known prime q and n number of known primes L1, L2, . . . , Ln, where L1, L2, . . . , Ln are primes, other than 2, that are smaller than the prime q, and the prime q satisfies q=1 mod Li (i=1, 2, . . . , n); generating a number N whose bit length is twice as large as a bit length of the prime q, where numbers that relate to any of the primes L1, L2, . . . , Ln are excluded from the generation of the number N; and judging primality of the number N, and outputting the number N as a prime if the number N is judged as being prime, wherein said step of generating comprises; generating a number u that satisfies 2×
u×
q+1≠
0 mod Li (i=1, 2, . . . , n), using the prime q;generating a random number R′
; andgenerating a number R, where R=u+L1×
L2×
. . . ×
Ln×
R′
, using the primes L1, L2, . . . , Ln, the number u, and the random number R′
, and generating the number N, where N=2×
R×
q+1, using the prime q and the number R, andwherein said step of judging comprises judging the primality of the number N, using the number N and the number R generated in said generating step.
-
-
13. A prime number generation program embodied on a computer-readable medium, and used in a computer for generating a prime, said program causing the computer to execute a method comprising:
-
acquiring a known prime q and n number of known primes L1, L2, . . . , Ln, where L1, L2, . . . , Ln are primes, other than 2, that are smaller than the prime q, and the prime q satisfies q=1 mod Li (i=1, 2, . . . , n); generating a number N whose bit length is twice as large as a bit length of the prime q, where numbers that relate to any of the primes L1, L2, . . . , Ln are excluded from the generation of the number N; and judging primality of the number N, and outputting the number N as a prime if the number N is judged as being prime, wherein said step of generating comprises; generating a number u that satisfies 2×
u×
q+1≠
0 mod Li (i=1, 2, . . . , n), using the prime q;generating a random number R′
; andgenerating a number R, where R=u+L1×
L2×
. . . ×
Ln×
R′
, using the primes L1, L2, . . . , Ln, the number u, and the random number R′
, and generating the number N, where N=2×
R×
q+1, using the prime q and the number R, andwherein said step of judging comprises judging the primality of the number N, using the number N and the number R generated in said generating step.
-
Specification