liveBook · Manning

Group

As explained in Real-World Cryptography

A group is an algebraic structure consisting of a set and an associative operation with an identity element and inverses for all elements.

A group combines a set of elements with a binary operation such as addition or multiplication. Together, they support the algebraic behavior that makes key-exchange algorithms work. section 5.2.1

The set and operation form a group only when they satisfy four properties:

  • Closure: operating on two elements produces another element in the same set. section 5.2.1
  • Associativity: regrouping several operations does not change the result, so a(bc) equals (ab)c. section 5.2.1
  • Identity: one element leaves every other element unchanged; multiplication commonly uses 1. section 5.2.1
  • Inverses: every element has a partner that combines with it to produce the identity. section 5.2.1

Diffie–Hellman uses a multiplicative group, so multiplication is the chosen operation and the notation may omit the multiplication symbol. section 5.2.1

Figure 5.4 The four properties of a group: closure, associativity, identity element, and inverse element.

Use the figure to compare closure, associativity, identity, and inverse as four separate checks. section 5.2.1

How Real-World Cryptography covers it

How deep it goes
Defines four group properties and connects them to multiplicative notation, but stops short of detailed algorithm mechanics.
Examples
Uses multiplication, identity 1, inverses, modular arithmetic modulo 5, and figures illustrating group properties and subgroups.
What you can do after
Evaluate whether a set and operation satisfy the basic requirements for a group used in key exchange.
How it connects
Connects groups with group theory, Diffie–Hellman key exchange, multiplicative groups, and public-key cryptography.

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.