Discrete logarithm problem in sandpile groups · Discrete logarithm problem in sandpile groups...

23
Discrete logarithm problem in sandpile groups Kriszti´ an Dsupin This is a joint work with Dr. Szabolcs Tengely University of Debrecen 20th Central European Conference on Cryptology June 24-26, 2020

Transcript of Discrete logarithm problem in sandpile groups · Discrete logarithm problem in sandpile groups...

Page 1: Discrete logarithm problem in sandpile groups · Discrete logarithm problem in sandpile groups Kriszti an Dsupin This is a joint work with Dr. Szabolcs Tengely University of Debrecen

Discrete logarithm problemin sandpile groups

Krisztian DsupinThis is a joint work with Dr. Szabolcs Tengely

� University of Debrecen

20th Central European Conference on Cryptology

June 24-26, 2020

Page 2: Discrete logarithm problem in sandpile groups · Discrete logarithm problem in sandpile groups Kriszti an Dsupin This is a joint work with Dr. Szabolcs Tengely University of Debrecen

Table of contents

Sandpile model

Solving DLP

Generalised inverse

Krisztian Dsupin 20th Central European Conference on Cryptology 0 / 21

Page 3: Discrete logarithm problem in sandpile groups · Discrete logarithm problem in sandpile groups Kriszti an Dsupin This is a joint work with Dr. Szabolcs Tengely University of Debrecen

Sandpile model

Discete logarithm problem

General problemLet G a multiplicative group, g , h P G . The problem is to find anx such that g x “ h.

In additive groupsLet G be an additive group, g , h P G , The problem is to find anx such that x ¨ g “ h.

Krisztian Dsupin 20th Central European Conference on Cryptology 1 / 21

Page 4: Discrete logarithm problem in sandpile groups · Discrete logarithm problem in sandpile groups Kriszti an Dsupin This is a joint work with Dr. Szabolcs Tengely University of Debrecen

Sandpile model

Sandpile graph

A pV ,E , sq triplet is called sandpile graph, if pV ,E q is a directedmultigraph and s P V is a globally accessible vertex.

A vertex is globally accessible or sink, if it can be accessed fromeach of the vertices of the graph G .

Krisztian Dsupin 20th Central European Conference on Cryptology 2 / 21

Page 5: Discrete logarithm problem in sandpile groups · Discrete logarithm problem in sandpile groups Kriszti an Dsupin This is a joint work with Dr. Szabolcs Tengely University of Debrecen

Sandpile model

Configurations

ConfigurationA configuration over G is a c : V Ñ Z function, such that

cpvq ě 0 for all v P V ˚, furthermore cpsq “ ´ÿ

vPV

cpvq, and

denoted by c “ pc1, . . . , cnq.

Stable configuration

A c configuration is stable in v P V ztsu, if cpvq ď d´pvq.Otherwise, c is unstable.

Krisztian Dsupin 20th Central European Conference on Cryptology 3 / 21

Page 6: Discrete logarithm problem in sandpile groups · Discrete logarithm problem in sandpile groups Kriszti an Dsupin This is a joint work with Dr. Szabolcs Tengely University of Debrecen

Sandpile model

Stabilization

An unstable c configuration can be fired, which gives a cconfiguration. It means we reduce cpvq by d´pvq, and everyadjacent u vertex of v increases by 1. So that

cpvq “

$

&

%

cpuq ´ d´puq, if u “ v ,

cpuq ` 1, if u and v are adjacent,

cpvq, other.

We say a firing is legal, if c is unstable at v .

Krisztian Dsupin 20th Central European Conference on Cryptology 4 / 21

Page 7: Discrete logarithm problem in sandpile groups · Discrete logarithm problem in sandpile groups Kriszti an Dsupin This is a joint work with Dr. Szabolcs Tengely University of Debrecen

Sandpile model

Sandpile group

Stable additionLet M denote the set of nonnegative stable configurations on G .Then M is a commutative monoid under stable addition

a © b :“ pa ` bq˝.

A stable addition is a vector addition in NV followed bystabilization.

Krisztian Dsupin 20th Central European Conference on Cryptology 5 / 21

Page 8: Discrete logarithm problem in sandpile groups · Discrete logarithm problem in sandpile groups Kriszti an Dsupin This is a joint work with Dr. Szabolcs Tengely University of Debrecen

Sandpile model

Accesible configurationA configuration c is accessible if for each configuration a, thereexists a configuration b such that a ` b Ñ c .

Recurrent configurationA configuration c is recurrent if it is nonnegative, accessible, andstable.

Sandpile groupThe collection of recurrent configurations of G forms a groupunder stable addition, that is called the sandpile group of G anddenoted by SpG q.

Krisztian Dsupin 20th Central European Conference on Cryptology 6 / 21

Page 9: Discrete logarithm problem in sandpile groups · Discrete logarithm problem in sandpile groups Kriszti an Dsupin This is a joint work with Dr. Szabolcs Tengely University of Debrecen

Sandpile model

Example

Elements of sandpile group

c1 “ p2, 1, 1, 2qc2 “ p2, 0, 1, 2)c3 “ p1, 1, 1, 2qc4 “ p1, 0, 1, 2qc5 “ p0, 1, 1, 2qc6 “ p1, 1, 0, 2qc7 “ p2, 0, 0, 2qc8 “ p2, 1, 0, 2qc9 “ p2, 1, 0, 1qc10 “ p2, 1, 1, 1qc11 “ p2, 1, 1, 0q

Krisztian Dsupin 20th Central European Conference on Cryptology 7 / 21

Page 10: Discrete logarithm problem in sandpile groups · Discrete logarithm problem in sandpile groups Kriszti an Dsupin This is a joint work with Dr. Szabolcs Tengely University of Debrecen

Solving DLP

DivisorThe D divisors of the G groups are the elements of

DivpG q “

ÿ

vPV pGq

av pvq | av P Z(

Monodromy pairingLet P be an arbitrary pseudoinverse of the L Laplacian matrix,then monodromy pairing can define as the following:

xD1,D2y “ rD1sTPrD2s pmod Zq.

Krisztian Dsupin 20th Central European Conference on Cryptology 8 / 21

Page 11: Discrete logarithm problem in sandpile groups · Discrete logarithm problem in sandpile groups Kriszti an Dsupin This is a joint work with Dr. Szabolcs Tengely University of Debrecen

Solving DLP

Solving DLP

Input: D1,D2 P Div0pG q, where D2 “ x ¨ D1 in Jac(G )

Output: x pmod ordpD1qq

1 Compute xD1, gy “ r1 ` Z and xD2, gy “ r2 ` Z.

2 Solve the r2 “ r1x ` y Diophantine equation to getx pmod ordpDqq.

Krisztian Dsupin 20th Central European Conference on Cryptology 9 / 21

Page 12: Discrete logarithm problem in sandpile groups · Discrete logarithm problem in sandpile groups Kriszti an Dsupin This is a joint work with Dr. Szabolcs Tengely University of Debrecen

Solving DLP

C 2n Square cycle

(a) n “ 3 (b) n “ 4 (c) n “ 8

Krisztian Dsupin 20th Central European Conference on Cryptology 10 / 21

Page 13: Discrete logarithm problem in sandpile groups · Discrete logarithm problem in sandpile groups Kriszti an Dsupin This is a joint work with Dr. Szabolcs Tengely University of Debrecen

Solving DLP

Square cycle

Let n be a positive integer, and Cn a cycle graph withV “ tv1, . . . , vnu vertices. Than C 2

n square cycle is a 4-regulargraph with vertex set V , and ith vertex is adjacent toi ˘ 1 pmod nq and i ˘ 2 pmod nq vertices.

Structure of SpC 2n q

The sandpile group of C 2n is the direct sum of two or three cyclic

groups, which are the followings:

SpC 2n q – Zpn,Fnq ‘ ZFn ‘ Z nFn

pn,Fnq

.

Krisztian Dsupin 20th Central European Conference on Cryptology 11 / 21

Page 14: Discrete logarithm problem in sandpile groups · Discrete logarithm problem in sandpile groups Kriszti an Dsupin This is a joint work with Dr. Szabolcs Tengely University of Debrecen

Solving DLP

Solving DLP

1 Compute L “ D ´ A Laplace-matrix and P pseudoinverse

2 Specify Dg1 ,Dg2 ,Dg3 divisors of g1, g2, g3 generators

3 Compute divisors of c1 and c2 configurations

Krisztian Dsupin 20th Central European Conference on Cryptology 12 / 21

Page 15: Discrete logarithm problem in sandpile groups · Discrete logarithm problem in sandpile groups Kriszti an Dsupin This is a joint work with Dr. Szabolcs Tengely University of Debrecen

Solving DLP

Solving DLP in cyclic groups

4 Dc1 ¨ P ¨ Dg1 and Dc2 ¨ P ¨ Dg1

Dc1 ¨ P ¨ Dg2 and Dc2 ¨ P ¨ Dg2

Dc1 ¨ P ¨ Dg3 and Dc2 ¨ P ¨ Dg3

pairings gives solutions for Diophantine equations moduloordpg1q, ordpg2q, ordpg3q

5 Solving that congruence system with Chinese remaindertheorem, the solution of the DLP can be given.

Krisztian Dsupin 20th Central European Conference on Cryptology 13 / 21

Page 16: Discrete logarithm problem in sandpile groups · Discrete logarithm problem in sandpile groups Kriszti an Dsupin This is a joint work with Dr. Szabolcs Tengely University of Debrecen

Generalised inverse

Generalised inverse

k-circulant matrixA square A “ paijq matrix is k-circulant, it there exists a k suchthat the matrix has the form of

A “

¨

˚

˚

˚

˚

˝

a0 a1 a2 . . . an´1

kan´1 ka0 a1 . . . an´2

kan´2 kan´1 a0 . . . an´3...

......

. . ....

ka1 ka2 ka3 . . . a0

˛

.

Krisztian Dsupin 20th Central European Conference on Cryptology 14 / 21

Page 17: Discrete logarithm problem in sandpile groups · Discrete logarithm problem in sandpile groups Kriszti an Dsupin This is a joint work with Dr. Szabolcs Tengely University of Debrecen

Generalised inverse

Generalised inverse

Let A an n ˆ n k-circulant matrix with first row a0, . . . , an´1 andwith µ0, . . . , µn´1 eigenvalues. Let ω be primitive nth root ofunity, and suppose λn “ k . Then the first row b0, . . . , bn´1 of As

is given by

bi “1

n

n´1ÿ

j“0

βjpλωjq´i , i “ 0, 1, . . . , n ´ 1,

where

βj “

#

0 if µj “ 0;1µj

if µj ‰ 0.

Krisztian Dsupin 20th Central European Conference on Cryptology 15 / 21

Page 18: Discrete logarithm problem in sandpile groups · Discrete logarithm problem in sandpile groups Kriszti an Dsupin This is a joint work with Dr. Szabolcs Tengely University of Debrecen

Generalised inverse

Suppose that the generators of C 2n are gi , the input

configurations of the DLP problems are cj , than the monodromypairings are given by the following form.

P ¨ gi “

¨

˚

˚

˝

vi ,0vi ,1

...vi ,n´1

˛

,where

vi ,k “

$

&

%

n´1ÿ

l“0

pl ¨ gl if k “ 0;

n´1ÿ

l“0

¨pl´k p mod nq ¨ gl if k ‰ 0.

Krisztian Dsupin 20th Central European Conference on Cryptology 16 / 21

Page 19: Discrete logarithm problem in sandpile groups · Discrete logarithm problem in sandpile groups Kriszti an Dsupin This is a joint work with Dr. Szabolcs Tengely University of Debrecen

Generalised inverse

Monodromy pairing in C 2n

The monodromy pairing can also be given by

cj ¨P ¨gi “n´1ÿ

l“0

cj ,l ¨ vi ,l “ c0 ¨

n´1ÿ

l“0

pl ¨gl `n´1ÿ

k“1

ck

n´1ÿ

l“0

pl´k p mod nq ¨gl ,

ConclusionWith this method the monodromy pairing can express explicitly,and the solution of the DLP is depending on solving at mostthree Diophantine equations and the congruence system.

Krisztian Dsupin 20th Central European Conference on Cryptology 17 / 21

Page 20: Discrete logarithm problem in sandpile groups · Discrete logarithm problem in sandpile groups Kriszti an Dsupin This is a joint work with Dr. Szabolcs Tengely University of Debrecen

Generalised inverse

Krisztian Dsupin 20th Central European Conference on Cryptology 18 / 21

Page 21: Discrete logarithm problem in sandpile groups · Discrete logarithm problem in sandpile groups Kriszti an Dsupin This is a joint work with Dr. Szabolcs Tengely University of Debrecen

Generalised inverse

Krisztian Dsupin 20th Central European Conference on Cryptology 19 / 21

Page 22: Discrete logarithm problem in sandpile groups · Discrete logarithm problem in sandpile groups Kriszti an Dsupin This is a joint work with Dr. Szabolcs Tengely University of Debrecen

References

References

Hou, Yaoping and Woo, Chingwah and Chen,Pingge, On the sandpile group of the square cycle C 2

n ,Linear Algebra and its Applications,(2006).

R.E. Cline and R.J. Plemmons and G. Worm,Generalized inverses of certain Toeplitz matrices, LinearAlgebra and its Applications,(1974).

F. Shokrieh, The monodromy pairing and discretelogarithm on the Jacobian of finite graphs, Journal ofMathematical Cryptology,(2009).

Krisztian Dsupin 20th Central European Conference on Cryptology 20 / 21

Page 23: Discrete logarithm problem in sandpile groups · Discrete logarithm problem in sandpile groups Kriszti an Dsupin This is a joint work with Dr. Szabolcs Tengely University of Debrecen

The end

Thank you for your attention!

Krisztian Dsupin 20th Central European Conference on Cryptology 21 / 21