If it passes, output the presumed prime numbers. Perform advanced prime test ( Miller-Rabin algorithm).If it passes, continue to the third step.Do a primality test with small prime numbers ( Sieve of Eratosthenes).Pre-select random numbers of given bit length.Nowadays, practical systems require the key length to be no less than 2048 bits, with corresponding \(p\) and \(q\) about 1024 bits each.Ī general effectiveness method for generating such large random prime numbers is a probability-based randomization algorithm, which proceeds as follows: \(N\) is the length of the RSA key, the larger the more secure. The first step in constructing the RSA encryption system is to generate two large prime numbers \(p\) and \(q\), and calculate the modulus \(N=pq\). The security of the RSA encryption algorithm is built on the mathematical challenge of factoring the product of two large prime numbers. Donald Knuth(American computer scientist, mathematician, and professor emeritus at Stanford University, the 1974 recipient of the ACM Turing Award, often called the "father of the analysis of algorithms") Generating Large Primes Random numbers should not be generated with a method chosen at random.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |