- Consider the powers of 3 (mod 7)
- 31≡ 3, 32≡ 2, 33≡ 6, 34≡ 4, 35≡ 5, 36≡ 1
- Note that we obtain all nonzero congruence classes mod 7 as powers of 3
- Generally when p is a prime, a primitive root mod p is a number whose powers yield every nonzero class mod p
- Primitive Roots
- Let g be a primitive root for the prime p
- Let n be an integer. Then gn≡ 1 (mod p) if and only if n ≡ 0 (mod p - 1)
- If j and k are integers, then gj ≡ gj (mod p) if and only if j ≡ k (mod p - 1)
Tuesday, October 8, 2013
Notes - Primitive Roots
The following are notes from Introduction to Cryptography with Coding Theory.
Labels:
Cryptography,
Math,
Notes
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment