liveBook · Manning

Finite field

As explained in Real-World Cryptography

A finite field is a field containing a finite number of elements in which addition, subtraction, multiplication, and division by nonzero elements are defined.

A finite field is a finite collection of elements where addition, subtraction, multiplication, and division by nonzero elements are defined. In cryptography, prime-modulus arithmetic supplies the setting for Finite Field Diffie-Hellman (FFDH). section 5.2.1

Prime-modulus groups provide the key ingredients:

  • Use the strictly positive integers 1 through p − 1 with modular multiplication; every element has an inverse. section 5.2.1
  • Add modular addition to the commutative group structure, producing the richer finite-field setting. section 5.2.1
  • Work with subgroups when needed; a cyclic subgroup comes from repeatedly multiplying one generator. section 5.2.1

A tiny modular example

Modulo 5, the generator 4 cycles through 4, 1, 4, 1, producing the subgroup {1, 4}. A clock resetting after 4 gives the same wraparound intuition. section 5.2.1

Figure 5.5 The group of integers modulo the prime number 5 can be pictured as a clock that resets to 0 after the number 4. Thus 5 is represented as 0, 6 as 1, 7 as 2, 8 as 3, 9 as 4, 10 as 0, and so on.

Visualize modular arithmetic as a clock that resets to zero after reaching the prime modulus. section 5.2.1

How Real-World Cryptography covers it

How deep it goes
Explains the field setting through modular groups, inverses, addition, subgroups, and a small generator example.
Examples
Uses integers modulo 5, a clock analogy, and generator 4 cycling through the subgroup {1, 4}.
What it assumes
Assumes an understanding of groups before extending that structure to finite fields and subgroups.
What you can do after
Evaluate the modular group structure underlying Finite Field Diffie-Hellman.
How it connects
Connects finite fields to group theory, Galois groups, subgroups, cyclic generators, and Diffie-Hellman.

Also explained in

Compare how 2 books explain finite field →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Real-World Cryptography. The section links point to the parts of the book it draws on.