L9 – Subgroups, Cyclic Groups, DLOG, CDH, Diffie-Hellman Key Exchange, and Cardinality

Discrete Mathematics2026年4月2日发布 芮和
2.1K 200

Subgroup

DEFINITION: Let (G,)(G, \star) be an Abelian group. A subset HGH \subseteq G is a subgroup of GG if (H,)(H, \star) is also a group. (HGH \le G) // trivial subgroups: {1},G;{0},G\{1\},G;\{0\},G

  • Multiplicative: G=6={1,5}G = \mathbb{Z}_6^* = \{1,5\} has two subgroups {1},G\{1\},G
  • Additive: G=6={0,1,2,3,4,5}G = \mathbb{Z}_6 = \{0,1,2,3,4,5\} has a non trivial subgroup H={0,2,4}H = \{0,2,4\}

THEOREM: Let (G,)(G, \cdot) be an Abelian group. Let g={gk:k}\langle g \rangle = \{g^k : k \in \mathbb{Z}\} be a subset of GG, where gGg \in G. Then gG\langle g \rangle \le G.

  • Closure: gagb=ga+bgg^a \cdot g^b = g^{a+b} \in \langle g \rangle
  • Associative: ga(gbgc)=ga+b+c=(gagb)gcg^a \cdot (g^b \cdot g^c) = g^{a+b+c} = (g^a \cdot g^b) \cdot g^c
  • Identity element: g0ga=gag0=gag^0 \cdot g^a = g^a \cdot g^0 = g^a
  • Inverse: gaga=gaga=g0g^a \cdot g^{-a} = g^{-a} \cdot g^a = g^0
  • Communicative: gagb=ga+b=gb+a=gbgag^a \cdot g^b = g^{a+b} = g^{b+a} = g^b \cdot g^a

Cyclic Group

DEFINITION: An Abelian group (G,)(G, \cdot) is cyclic if there exists gGg \in G s.t. G=gG = \langle g \rangle.

  • gg is called a generator of GG.

EXAMPLE:10=[1]10,[3]10,[7]10,[9]10=[3]10\mathbb{Z}_{10}^* = {[1]_{10}, [3]_{10}, [7]_{10}, [9]_{10}} = \langle [3]_{10} \rangle

  • g=[3]10g = [3]_{10}
  • g0=[1]10,g1=[3]10,g2=[9]10,g3=[27]10=[7]10g^0 = [1]_{10}, g^1 = [3]_{10}, g^2 = [9]_{10}, g^3 = [27]_{10} = [7]_{10}

REMARK: Let GG be a finite group and let gGg \in G. Then g={g1,g2,}\langle g \rangle = \{g^1, g^2, \dots\}

  • If G=gG = \langle g \rangle is a cyclic group of order mm, then G={g0,g1,,gm1}={g1,,gm1,gm}G = \{g^0, g^1, \dots, g^{m-1}\} = \{g^1, \dots, g^{m-1}, g^m\}.

THEOREM: For any prime pp, the group p\mathbb{Z}_p^* is a cyclic group.

  • proof omitted (beyond the scope of the course)

EXAMPLE:p=23p = 23; p\mathbb{Z}_p^* is a cyclic group of order 22 and has a subgroup of order 11

  • α=5;α={5,2,10,4,20,8,17,16,11,9,22,18,21,13,19,3,15,6,7,12,14,1,5,2}\alpha = 5; \langle\alpha\rangle = \{5, 2, 10, 4, 20, 8, 17, 16, 11, 9, 22, 18, 21, 13, 19, 3, 15, 6, 7, 12, 14, 1, 5, 2\}
  • |p|=p1=22;o(5)|22;o(5){1,2,11,22};51=5,52=2,511=22|\mathbb{Z}_p^*| = p – 1 = 22; o(5) | 22; o(5) \in \{1, 2, 11, 22\}; 5^1 = 5, 5^2 = 2, 5^{11} = 22
  • g=2;g={g1,}={2,4,8,16,9,18,13,3,6,12,1}g = 2; \langle g \rangle = \{g^1, \dots\} = \{2, 4, 8, 16, 9, 18, 13, 3, 6, 12, 1\} is a subgroup of order q=11=(p1)/2q = 11 = (p – 1)/2

EXAMPLE:p\mathbb{Z}_p^* is a cyclic group and G=gG = \langle g \rangle is a cyclic subgroup.

  • p=p= 179769313486231590772930519078902473361797697894230657273430081157732675805500963132708477322407536021120113879871393357658789768814416622492847430639474124377767893424865485276302219601246094119453082952085005768838150682342462881473913110540827237163350510684586298239947245938479716304835356329624227998859
    • pp is a prime; α=2\alpha = 2; o(α)=(p1)/2:=qo(\alpha) = (p – 1)/2 := q // o(α)|(p1),o(α){1,2,q,p}o(\alpha) | (p – 1), o(\alpha) \in \{1, 2, q, p\}
    • p=α={α0,α1,,αp2}={α1,,αp2,αp1}\mathbb{Z}_p^* = \langle \alpha \rangle = \{\alpha^0, \alpha^1, \dots, \alpha^{p-2}\} = \{\alpha^1, \dots, \alpha^{p-2}, \alpha^{p-1}\} is a cyclic group of order p1p – 1
  • q=q = 89884656743115795386465259539451236680898848947115328636715040578866337902750481566354238661203768010560056939935696678829394884407208311246423715319737062188883946712432742638151109800623047059726541476042502884419075341171231440736956555270413618581675255342293149119973622969239 858152417678164812113999429
    • q=(p1)/2q = (p – 1)/2 is a prime; g=α2=4g = \alpha^2 = 4
    • G=g={g0,g1,,gq1}G = \langle g \rangle = \{g^0, g^1, \dots, g^{q-1}\}
      ={α0,α2,,α2q2}= \{\alpha^0, \alpha^2, \dots, \alpha^{2q-2}\}
      ={α2,,α2q2,α2q}= \{\alpha^2, \dots, \alpha^{2q-2}, \alpha^{2q}\} is a subgroup of p\mathbb{Z}_p^* of order qq

DLOG and CDH

DEFINITION: Let G=gG = \langle g \rangle be a cyclic group of order qq. For every hGh \in G, there exists x{0,1,,q1}x \in \{0,1,\dots,q-1\} such that h=gxh = g^x. The integer xx is called the discrete logarithm (DLOG) of hhwith respect togg.

  • Notation: x=logghx = \log_g h

DLOG Problem:G=gG = \langle g \rangle is a cyclic group of order qq

  • Input:q,G,gq, G, g and hGh \in G; Output:loggh\log_g h

CDH Problem:Computational Diffie-Hellman

  • Input:q,G,gq, G, g and A=ga,B=gbA = g^a, B = g^b for a,b{0,1,,q1}a, b \leftarrow \{0,1,\dots,q-1\}; Output:gabg^{ab}

Hardness of DLOG and CDH: If p=2q+1p = 2q + 1 is a safe prime and GG is the order qq subgroup of p\mathbb{Z}_p^*, then the best known algorithm for DLOG/CDH runs in time exp(O(lnqlnlnq))\exp\left(O(\sqrt{\ln q \ln \ln q})\right).

  • q22048q \approx 2^{2048}


Diffie-Hellman Key Exchange

CONSTRUCTION:G=gG = \langle g \rangle is a cyclic group of prime order qq

  • Alice:aqa \gets \mathbb{Z}_q, A=gaA = g^a; send (q,G,g,A)(q, G, g, A) to Bob
  • Bob:bqb \gets \mathbb{Z}_q, B=gbB = g^b; send BB to Alice; output k=Abk = A^b
  • Alice: output k=Bak = B^a

Whitfield Diffie, Martin E. Hellman: New directions in Cryptography, IEEE Trans. Info. Theory, 1976
Turing Award 2015

EXAMPLE:p=23p = 23; 23=5\mathbb{Z}_{23}^* = \langle 5 \rangle; G=2G = \langle 2 \rangle, q=|G|=11q = |G| = 11, g=2g = 2


Combinatorics

1666, Leibniz (1646-1716), De Arte Combinatoria

Enumerative combinatorics

  • permutations, combinations, partitions of integers, generating functions, combinatorial identities, inequalities …

Designs and configurations

  • block designs, triple systems, Latin squares, orthogonal arrays, configurations, packing, covering, tiling …

Graphtheory

  • graphs, trees, planarity, coloring, paths, cycles, …

Extremal combinatorics

  • extremal set theory, probabilistic method …

Algebraic combinatorics

  • symmetricfunctions, group, algebra, representation, group actions …

Sets and Functions

DEFINITION: A set is an unordered collection of elements

  • aA;aAa \in A; a \notin A; roster method, set builder; empty set \emptyset, universal set
  • A=B;AB;AB;AB;AB;AA = B; A \subseteq B; A \subset B; A \cup B; A \cap B; \bar{A}

DEFINITION: Let A,BA, B \neq \emptyset be two sets. A function (map)f:ABf: A \to B assigns a unique element bBb \in B for all aAa \in A.

  • injective:f(a)=f(b)a=bf(a) = f(b) \implies a = b
  • surjective:f(A)=Bf(A) = B
  • bijective: injective and surjective

Cardinality of Sets

DEFINITION: Let AA be a set. AA is a finite set if it has finitely many elements; Otherwise, AA is an infinite set.

  • The cardinality|A||A| of a finite set AA is the number of elements in AA.

EXAMPLE:,{1},{x:x22x3=0},{a,b,c,,z}\emptyset, \{1\}, \{x: x^2 – 2x – 3 = 0\}, \{a, b, c, …, z\} are all finite sets; ,,,,\mathbb{N}, \mathbb{Z}, \mathbb{Q}, \mathbb{R}, \mathbb{C} are all infinite sets.

DEFINITION: Let A,BA, B be any sets. We say that A,BA, Bhave the same cardinality (|A|=|B||A| = |B|) if there is a bijection f:ABf: A \to B.

  • We say that |A||B||A| \le |B| if there exists an injection f:ABf: A \to B.
    • If |A||B||A| \le |B| and |A||B||A| \neq |B|, we say that |A|<|B||A| < |B|.

THEOREM: Let A,B,CA, B, C be any sets. Then

  • |A|=|A||A| = |A|
  • |A|=|B||B|=|A||A| = |B| \implies |B| = |A|
  • |A|=|B||B|=|C||A|=|C||A| = |B| \land |B| = |C| \implies |A| = |C|

EXAMPLE:|+|=||=||=|+|=|||\mathbb{Z}^+| = |\mathbb{N}| = |\mathbb{Z}| = |\mathbb{Q}^+| = |\mathbb{Q}|

  • f:+,xx1f: \mathbb{Z}^+ \to \mathbb{N}, \quad x \mapsto x – 1
  • f:,f(x)={2xx0(2x+1)x<0f: \mathbb{Z} \to \mathbb{N}, \quad f(x) = \begin{cases} 2x & x \ge 0 \\ -(2x + 1) & x < 0 \end{cases}

EXAMPLE:|+|=||=|(0,1)|=|[0,1]||\mathbb{R}^+| = |\mathbb{R}| = |(0,1)| = |[0,1]|

  • f:+,x2xf: \mathbb{R} \to \mathbb{R}^+, \quad x \mapsto 2^x
  • f:(0,1),xtan(π(x1/2))f: (0,1) \to \mathbb{R}, \quad x \mapsto \tan(\pi(x – 1/2))
  • f:[0,1](0,1)f: [0,1] \to (0,1)
    • f(1)=21,f(0)=22,f(2n)=2n2,n=1,2,3,f(1) = 2^{-1}, f(0) = 2^{-2}, f(2^{-n}) = 2^{-n-2}, n = 1, 2, 3, \dots
    • f(x)=xf(x) = x for all other xx
© 版权声明

相关文章

20 条评论

  • 哈哈镜
    哈哈镜 读者

    迪菲-赫尔曼现在还在用吗

    中国云南
    回复
  • Verdant Sonata
    Verdant Sonata 读者

    这数学符号密密麻麻的

    中国上海
    回复
  • 荒野之狼
    荒野之狼 读者

    离散对数这问题还挺经典的。

    美国
    回复
  • 暖阳暖心
    暖阳暖心 读者

    循环群这块有点抽象,得慢慢消化。

    英国
    回复
  • PotatoOverlord
    PotatoOverlord 读者

    原来迪菲-赫尔曼是76年提出的

    日本
    回复
  • BerryBubble
    BerryBubble 读者

    这数学符号看得我眼花缭乱的

    美国
    回复
    • 青冥魂
      青冥魂 读者

      同感,密密麻麻的

      中国台湾@ BerryBubble
      回复
  • 烤红薯香喷喷
    烤红薯香喷喷 读者

    迪菲-赫尔曼当年拿图灵奖实至名归

    日本
    回复
  • 比特云
    比特云 读者

    这数学符号看得我头疼😵

    中国黑龙江
    回复
    • 长安旅人
      长安旅人 读者

      同感,符号太多了

      中国福建@ 比特云
      回复
  • 雾隐星辰
    雾隐星辰 读者

    迪菲-赫尔曼这算法设计得真巧妙

    中国福建
    回复
    • 细雨骑楼
      细雨骑楼 读者

      确实设计得很巧妙

      印度尼西亚@ 雾隐星辰
      回复
  • 闪闪
    闪闪 游客

    群论基础这块是不是得先补补抽象代数啊🤔

    中国吉林
    回复
  • 灵蝶逆光
    灵蝶逆光 游客

    迪菲-赫尔曼交换过程讲得还行,就是例子数字太长了

    韩国
    回复
  • 剑影随
    剑影随 游客

    这公式密度也太高了,子群生成元那块看了三遍才懂

    中国河南
    回复
  • 极光旅者
    极光旅者 读者

    迪菲-赫尔曼密钥交换这块讲得挺清楚

    中国上海
    回复
    • 生活观察员
      生活观察员 读者

      我也觉得讲得清楚

      中国江苏@ 极光旅者
      回复
  • 音乐与酒
    音乐与酒 游客

    这公式看着头大,子群那部分到底咋理解啊?🤔

    中国江苏
    回复