- Strong prime
In
mathematics , a strong prime is aprime number with certain special properties. The definitions of strong primes are different incryptography andnumber theory .Definition in cryptography
In
cryptography , a prime number is "strong" if the following conditions are satisfiedRon Rivest and Robert Silverman, "Are 'Strong' Primes Needed for RSA?", Cryptology ePrint Archive: Report 2001/007. http://eprint.iacr.org/2001/007] .# is large.
# has large prime factors. That is, for some integer and large prime .
# has large prime factors. That is, for some integer and large prime .
# has large prime factors. That is, for some integer and large prime .Sometimes a prime that satisfies a subset of the above conditions is also called "strong". In some cases, some additional conditions may be included. For example, , or , etc.
Definition in number theory
In
number theory , a strong prime is a prime number that is greater than thearithmetic mean of the nearest prime above and below (in other words, it's closer to the following than to the preceding prime). Or to put it algebraically, given a prime number , where "n" is its index in the ordered set of prime numbers, . The first few strong primes are:11, 17, 29, 37, 41, 59, 67, 71, 79, 97, 101, 107, 127, 137, 149, 163, 179, 191, 197, 223, 227, 239, 251, 269, 277, 281, 307, 311, 331, 347, 367, 379, 397, 419, 431, 439, 457, 461, 479, 487, 499 OEIS|id=A051634.
For example, 17 is the seventh prime. The sixth and eighth primes, 13 and 19, add up to 32, and half that is 16. That is less than 17, thus 17 is a strong prime.
In a
twin prime pair ("p", "p" + 2) with "p" > 5, "p" is always a strong prime, since 3 must divide "p" − 2 which cannot be prime.It is possible for a prime to be a strong prime both in the cryptographic sense and the number theoretic sense. For the sake of illustration, 439351292910452432574786963588089477522344331 is a strong prime in the number theoretic sense because the arithmetic mean of its two neighboring primes is 62 less. Without the aid of a computer, this number would be a strong prime in the cryptographic sense because 439351292910452432574786963588089477522344330 has the large prime factor 1747822896920092227343 (and in turn the number one less than that has the large prime factor 1683837087591611009), 439351292910452432574786963588089477522344332 has the large prime factor 864608136454559457049 (and in turn the number one less than that has the large prime factor 105646155480762397). Even using algorithms more advanced than trial by division, these numbers would be difficult to factor by hand. For a modern
computer algebra system , these numbers can be factored almost instantaneously. A cryptographically strong prime has to be much larger than this example.Application of strong primes in
cryptography Factoring-based cryptosystems
Some people suggest that in the
key generation process inRSA cryptosystems, the modulus should be chosen as the product of two strong primes. This makes the factorization of using Pollard's "p" − 1 algorithm computationally infeasible. For this reason, strong primes are required by theANSI X9.31 standard for use in generating RSA keys fordigital signature s. However, strong primes do not protect against modulus factorisation using newer algorithms such asLenstra elliptic curve factorization andNumber Field Sieve algorithm. Given the additional cost of generating strong primesRSA Security do not currently recommend their use inkey generation . Similar (and more technical) argument is also given by Rivest and Silverman .Discrete-logarithm-based cryptosystems
It is shown by Stephen Pohlig and
Martin Hellman in 1978 that if all the factors of "p-1" are less than , then the problem of solvingdiscrete logarithm modulo "p" is in P. Therefore, for cryptosystems based on discrete logarithm, such as DSA, it is required that "p-1" has at least one large prime factor.ee also
A computationally large
safe prime is likely to be a cryptographically strong prime.Note that the criteria for determining if a pseudoprime is a
strong pseudoprime is by congruences to powers of a base, not by inequality to the arithmetic mean of neighboring pseudoprimes.When a prime is equal to the mean of its neighboring primes, it's called a
balanced prime . When it's less, it's called a weak prime.References
External links
* [http://www.isg.rhul.ac.uk/ugcs/Companion_v1.21.pdf Guide to Cryptography and Standards]
* [http://www.rsa.com/rsalabs/node.asp?id=2217 RSA Lab's explanation on strong vs weak primes]
Wikimedia Foundation. 2010.