In this post we provide the definition of finite groups and we show a few examples meaningful for cryptography and blockchain

Def. Finite Groups

Def. A group \langle G, \circ \rangle is a set G together with an operation \circ combining two elements of G, which satisfies the following properties:

  • Closeness: The group operation \circ is closed: \forall a, b \in G \Rightarrow a \circ b = c \in G
  • Associativity: a \circ ( b \circ c) = ( a \circ b ) \circ c , \forall a, b, c \in G
  • Identity: there is a neutral element 1 \in G s.t. a \circ 1 = 1 \circ a = a , \forall a \in G
  • Inverse: \forall a \in G, there is an inverse element a^{-1} s.t. a \circ a^{-1} = a^{-1} \circ a = 1

Def. A subgroup H of a group \langle G, \circ \rangle is any H \subset G s.t. H is also a group w.r.t. the \circ operation.

Def. A group \langle G, \circ \rangle is called Abelian, or commutative, if satisfies the property

  • Commutativity: \forall a,b \in G, a \cdot b = b \cdot a

Examples

  1. 2. \langle \mathbb{R}, + \rangle and \langle \mathbb{Z}, + \rangle are abelian groups: they have identity 0; any element x has an inverse -x, they satisfy associativity, and they satisfy commutativity.
  2. \langle \mathbb{R}, \cdot \rangle is not a group: the element 0 has no inverse, and there is nothing we can multiply 0 to get 1
  3. \langle \mathbb{Z}, \cdot \rangle is not a group: there is no integer we can multiply 2 by to get to 1.
  4. \langle \mathbb{Z}_{9}, \cdot \rangle the set of integers \mathbb{Z}_{9} = \{0,1,..,8\} together with the operation \circ = x \: mod \: 9, is not a group: the elements 0, 3, and \: 6 don’t have an inverse operation
  5. \langle \mathbb{Z}^{*}_{9}, \cdot \rangle the set of integers \mathbb{Z}^{*}_{9} = \{0,1,2,4,5,7,8\} (\mathbb{Z}_{9} excluding those which does not have inverse), together with the operation \circ = x \: mod \: 9, is a multiplicative group.

Multiplicative Groups of Integers Modulo p (Diffie-Hellman)

The Diffie-Hellman key exchange algorithm is based on the multiplicative group of integers modulo a prime number p, denoted by \mathbb{Z}^{*}_{p}. In this context, the group consists of the integers \{1,2,..,p-1\} under multiplication modulo p.

Example

  • Consider \mathbb{Z}^{*}_{7} = \{1,2,3,4,5,6\}, which forms a cyclic group under multiplication modulo 7. This is the basis for the Diffie-Hellman protocol, used for secure key exchange in cryptographic systems, including some blockchain implementations.

Additive Group of Integers Modulo p (Blockchain Consensus Mechanisms)

In blockchain systems, cryptographic hash functions often map inputs to an additive group modulo p. This property is used to ensure security and immutability of the blockchain ledger. Cryptographic schemes like RSA also rely on the structure of groups of integers under modulo operations.

Example

  • In Bitcoin, the operation of adding transactions into a block involves checking cryptographic hashes that are element of an additive group modulp p. This ensures that altering the transaction history is computationally infeasible

Elliptic Curve Cryptography (ECC)

In cryptography, elliptic curves over finite fields form Abelian groups, and they are widely used due to their efficiency and security at smaller key sizes compared to RSA. An elliptic curve group \E(\mathbb{F}_{p}), where \mathbb{F}_{p} is a finite field of prime order p, can be used for key exchange, like in the Elliptic Curve Diffie-Hellmann (ECDH), abd digital signatures, like ECDSA


0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *