发明名称 |
METHOD AND DEVICE FOR GENERATING PRIME NUMBERS, AND CRYPTOGRAPHIC SYSTEM |
摘要 |
PROBLEM TO BE SOLVED: To provide a method of generating prime numbers used in a cryptosystem, and efficiently generating a prime number resistant to the P-1 method and the P+1 method. SOLUTION: Prime number candidates are generated (S1), and primality test is carried out on the generated prime number candidates by the stochastic primality test method or the definite primality test method. Prime numbers P' are generated using odd random numbers, and it is judged whether or not the prime number candidates P' satisfy the condition P'≡0,±1 (mod pi)(3<=i<=n) to the prime numbers from p3 up to pn (pn is n-th prime number), and if it is satisfied, the prime numbers P' are removed (S1). The primality test is carried out only on the prime number candidates P' which do not satisfy this condition (S3). |
申请公布号 |
JP2000162968(A) |
申请公布日期 |
2000.06.16 |
申请号 |
JP19980338188 |
申请日期 |
1998.11.27 |
申请人 |
MURATA MACH LTD;KASAHARA MASAO |
发明人 |
KASAHARA MASAO;MURAKAMI YASUMICHI;SATO YOSHIZO |
分类号 |
G06F7/72;G06F17/10;G09C1/00;H04L9/30;(IPC1-7):G09C1/00 |
主分类号 |
G06F7/72 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|