Rings
1. What a Ring Is (Group + Second Operation)
A ring is an abelian group under plus a second operation with closure, associativity, distributivity:
- : abelian group (identity , inverses ).
- : closed, associative; distributes: .
- Commutative ring: (all crypto examples: , , polynomials).
- With unity: multiplicative identity $1
e 0$ exists. - Integral domain: commutative + unity + no zero divisors ( or ) — e.g. , but NOT ().
Hierarchy: group (1 op) ⊂ ring (2 ops) ⊂ field (2 ops + ×-inverses) — each topic adds one property.
2. Worked Examples
| Ring | Zero / unity | Inverses? | Notes |
|---|---|---|---|
| / | Only have ×-inverses | Integral domain, not a field | |
| / | , ; 2,3,4 none | Zero divisors () — needs care in RSA-style mod | |
| / | All nonzero (it's a field too) | prime field | |
| Polynomials | / | Only | AES field built as quotient of this ring (Module 3 Topic 3–4) |
Zero-divisor check: mod 6: with neither factor — so cancellation fails ($2a = 2b
ot\Rightarrow a = b2a = 2b \Rightarrow a = b2^{-1} = 4$). Exams contrast these two cases.
3. Why Rings Matter for AES and RSA
- AES S-box arithmetic happens in — a quotient of the polynomial ring by irreducible . Ring theory (ideals, quotients) is what makes "" rigorous.
- RSA works in ring ( composite): elements coprime to form group ( of them — Euler), non-coprimes are zero divisors. RSA correctness uses ring + group facts together.
- Homomorphic encryption (Paillier, BFV) computes directly on ring structure: uses the additive group of a ring.
4. Subrings, Ideals, Quotients (One-Line Each for Exams)
- Subring: subset closed under both ops (e.g. even integers ).
- Ideal: subring absorbing multiplication () — multiples in : the modulus of AES arithmetic.
- Quotient ring : cosets with mod- arithmetic — and are both quotients. This single idea builds every crypto field.
Exam Points
- Ring axioms + commutative/unity/integral-domain refinements — 2-mark opener.
- zero-divisor () vs cancellation — standard contrast numerical.
- Hierarchy group ⊂ ring ⊂ field with one added property each.
- Quotient preview: , as quotients (bridge to Modules 3–4).