Encyclopedia of Cryptography and Security

2005 Edition
| Editors: Henk C. A. van Tilborg

Fermat Primality Test

  • Moses Liskov
Reference work entry
DOI: https://doi.org/10.1007/0-387-23483-7_160

The Fermat primality test is a primality test, giving a way to test if a number is a prime number, using Fermat's little theorem and modular exponentiation (see modular arithmetic).

Fermat's Little Theorem states that if a is relatively prime to a prime number p, then \(a^{p-1} \equiv 1 \bmod p\)

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

Copyright information

© International Federation for Information Processing 2005

Authors and Affiliations

  • Moses Liskov

There are no affiliations available