CIS 5371 Cryptography - PowerPoint PPT Presentation

1 / 14
About This Presentation
Title:

CIS 5371 Cryptography

Description:

The theorems of Fermat and Euler. Quadratic residues. Legendre & Jacobi symbols. 3 ... The theorems of Fermat and Euler. Fermat's little theorem. If p is prime ... – PowerPoint PPT presentation

Number of Views:259
Avg rating:3.0/5.0
Slides: 15
Provided by: mikebur
Category:

less

Transcript and Presenter's Notes

Title: CIS 5371 Cryptography


1
CIS 5371 Cryptography
  • 6. An Introduction to Number Theory

2
Congruence and Residue classes
  • Arithmetic modulo n, Zn
  • Solving linear equations
  • The Chinese Remainder Theorem
  • Eulers phi function
  • The theorems of Fermat and Euler
  • Quadratic residues
  • Legendre Jacobi symbols

3
Arithmetic modulo n
  • Examples
  • Zn 0,1,2, , n-1,
  • Zp 1,2, , p-1, for prime p,
  • Zn all integers k, 0 lt k lt n, with gcd(k,n)
    1.

4
Solving linear equations
  • Theorem
  • For any integer n gt 1,
  • ax ? b (mod n)
  • is solvable, if and only if, gcd (a,n) b .
  • Examples
  • 6x ? 18 (mod 36) has 6 solutions 3, 9, 15, 21,
    27, 33.
  • 2x ? 5 (mod 10), has no solutions.

5
The Chinese Remainder Theorem
6
The Chinese Remainder Theorem
7
Example
8
Example
9
Eulers phi function
10
The theorems of Fermat and Euler
  • Fermats little theorem
  • If p is prime then,
  • ap-1 ? 1 (mod p),
  • for all integers a 0 lt a lt p.
  • Eulers theorem
  • If gcd (a,n)1 then a?(n) ? 1 (mod n),

11
Legendre Jacobi symbols
12
Legendre Jacobi symbols
13
Legendre Jacobi symbols
14
Example
Write a Comment
User Comments (0)
About PowerShow.com