Skip to main content

Definition

Pseudo-Mersenne Prime is a prime of the form

$$p = {2}^{m} - k,$$

where k is an integer for which

$$0 < \left \vert k\right \vert <{ \mathrm{2}}^{\lfloor m/2\rfloor }$$

If k = 1, then p is a Mersenne prime (and m must necessarily be a prime). If \(k = -1\), then p is called a Fermat prime (and m must necessarily be a power of two).

Applications

Pseudo-Mersenne primes are useful in public-key cryptography because they admit fast modular reduction (modular arithmetic) similar to Mersenne primes. If n is a positive integer less than p 2, then n can be written as

$$ n = u \cdot {2}^{2m} + a \cdot {2}^{m} + b, $$

where u = 0 or 1 and a and b are nonnegative integers less than 2m. (It is only rarely true that u = 1, and never true if k > 0.) Then

$$ n \equiv u \cdot {k}^{2} + a \cdot k + b(\ {\rm mod \ }\,\,\ p).$$

Repeating this substitution a few times will yield n modulo p. This method of modular reduction requires a small number of additions and subtractions rather than the...

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 799.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD 949.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Recommended Reading

  1. Crandall RE (1992) Method and apparatus for public key exchange in a cryptographic system. U.S. Patent # 5,159,632, October 27, 1992

    Google Scholar 

  2. Bailey D, Christof Paar (1998) Optimal extension fields for fast arithmetic in public-key algorithms. In: Krawczyk H (ed) Advances in cryptology—CRYPTO’98, Lecture Notes in Computer Science, vol 1462. Springer-Verlag, Berlin, pp 472–485

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Springer Science+Business Media, LLC

About this entry

Cite this entry

Solinas, J.A. (2011). Pseudo-Mersenne Prime. In: van Tilborg, H.C.A., Jajodia, S. (eds) Encyclopedia of Cryptography and Security. Springer, Boston, MA. https://doi.org/10.1007/978-1-4419-5906-5_42

Download citation

Publish with us

Policies and ethics