Groups
1. What a Group Is (Four Axioms)
A group is a set with an operation satisfying closure, associativity, identity, inverse:
- Closure: .
- Associativity: .
- Identity: .
- Inverse: .
Abelian (commutative) if additionally . Finite if (order); cyclic if some generates all: . Cryptography lives in finite abelian/cyclic groups: , , elliptic-curve groups.
2. Worked Examples (Check All Four)
| Set + op | Identity | Inverse | Group? |
|---|---|---|---|
| ✓ infinite abelian | |||
| i.e. mod 7 | ✓ cyclic, generator 1, 3, 5... | ||
| mod 7 | : since | ✓ cyclic order 6, generator 3: | |
| (), , | ✓ abelian order 4, NOT cyclic (no element order 4) | ||
| incl. evens | — | 2,4,6 have none | ✗ not a group (no inverses) |
Generator check: mod 7: , , , , , — all six nonzero residues ✓. Element order divides group order (Lagrange): orders in divide 6 ().
3. Key Theorems for Cryptography
- Lagrange: for subgroup ; hence for all — the engine behind Fermat (), Euler (), RSA correctness (Module 5).
- Cyclic discrete-log setting: easy, hard (Module 5 Topic 6: Diffie–Hellman, ElGamal, DSA live here).
- Subgroup structure: has exactly one subgroup per divisor of — small-subgroup attacks confine keys there if validation skipped (use safe primes / cofactor clearing).
4. Why Groups Open the Algebra Block (Topics 9–12)
Groups need only ONE operation; rings add a second (+, ×), fields add inverses for ×. AES's (Module 3–4) is a field under — its nonzero elements form a cyclic group of order 255 (generator = = 0x03). Every S-box/power computation is group exponentiation.
Exam Points
- Four axioms verbatim + abelian/cyclic definitions — 2-mark opener.
- generator trace () and inverse () — standard numerical.
- Non-example with reason (evens lack inverses).
- Lagrange → Fermat/Euler/RSA bridge line.