Generating Primes - Large Primes

Large Primes

For the large primes used in cryptography, it is usual to use a modified form of sieving: a randomly-chosen range of odd numbers of the desired size is sieved against a number of relatively small odd primes (typically all primes less than 65,000). The remaining candidate primes are tested in random order with a standard primality test such as the Miller-Rabin primality test for probable primes.

Alternatively, a number of techniques exist for efficiently generating provable primes. These include generating prime numbers p for which the prime factorization of p − 1 or p + 1 is known.

Read more about this topic:  Generating Primes

Famous quotes containing the word large:

    “Spring is strong and virtuous,
    Broad-sowing, cheerful, plenteous,
    Quickening underneath the mould
    Grains beyond the price of gold.
    So deep and large her bounties are,
    That one broad, long midsummer day
    Shall to the planet overpay
    The ravage of a year of war.”
    —Ralph Waldo Emerson (1803–1882)