<p>We study the problem of how to find the inverse of shift invariant (SI) transformations proposed in Daemen’s thesis. In particular, two of them have been used in practice: <InlineEquation ID="IEq1"> <EquationSource Format="TEX">\(y_i=x_i\oplus \overline{x_{i+1}}x_{i+2}\)</EquationSource> <EquationSource Format="MATHML"><math> <mrow> <msub> <mi>y</mi> <mi>i</mi> </msub> <mo>=</mo> <msub> <mi>x</mi> <mi>i</mi> </msub> <mo>⊕</mo> <mover> <msub> <mi>x</mi> <mrow> <mi>i</mi> <mo>+</mo> <mn>1</mn> </mrow> </msub> <mo>¯</mo> </mover> <msub> <mi>x</mi> <mrow> <mi>i</mi> <mo>+</mo> <mn>2</mn> </mrow> </msub> </mrow> </math></EquationSource> </InlineEquation> and <InlineEquation ID="IEq2"> <EquationSource Format="TEX">\(y_i=x_i\oplus \overline{x_{i+1}}x_{i+2}x_{i+3}\)</EquationSource> <EquationSource Format="MATHML"><math> <mrow> <msub> <mi>y</mi> <mi>i</mi> </msub> <mo>=</mo> <msub> <mi>x</mi> <mi>i</mi> </msub> <mo>⊕</mo> <mover> <msub> <mi>x</mi> <mrow> <mi>i</mi> <mo>+</mo> <mn>1</mn> </mrow> </msub> <mo>¯</mo> </mover> <msub> <mi>x</mi> <mrow> <mi>i</mi> <mo>+</mo> <mn>2</mn> </mrow> </msub> <msub> <mi>x</mi> <mrow> <mi>i</mi> <mo>+</mo> <mn>3</mn> </mrow> </msub> </mrow> </math></EquationSource> </InlineEquation>. The first one is the well-known <InlineEquation ID="IEq3"> <EquationSource Format="TEX">\(\chi \)</EquationSource> <EquationSource Format="MATHML"><math> <mi>χ</mi> </math></EquationSource> </InlineEquation> transformation used in <Emphasis FontCategory="SansSerif">SHA-3</Emphasis>, <Emphasis FontCategory="SansSerif">Subterranean 2.0</Emphasis> and <Emphasis FontCategory="SansSerif">Rasta</Emphasis>, while the second one is used in a recently proposed ZK-friendly hash function called <Emphasis FontCategory="SansSerif">Monolith</Emphasis>. While the concrete formula of the inverse of <InlineEquation ID="IEq4"> <EquationSource Format="TEX">\(\chi \)</EquationSource> <EquationSource Format="MATHML"><math> <mi>χ</mi> </math></EquationSource> </InlineEquation> of arbitrary size has been given and proved by Liu et al. at JoC 2022, it remains unknown how to deduce such a formula and how to systematically study other SI transformations. In this work, we aim to provide a general method and flow to find the inverse of SI transformations, though it is still limited to some specific types and it may not work for all such transformations. However, such a general method does shed new insight on how to find their inverse, as we can apply this method to several different SI transformations, including the one used in <Emphasis FontCategory="SansSerif">Monolith</Emphasis>. We expect that this method can be further generalized and applied to more SI transformations.</p>

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Finding the Inverse of some Shift Invariant Transformations

  • Fukang Liu,
  • Vaibhav Dixit,
  • Santanu Sarkar,
  • Willi Meier,
  • Takanori Isobe

摘要

We study the problem of how to find the inverse of shift invariant (SI) transformations proposed in Daemen’s thesis. In particular, two of them have been used in practice: \(y_i=x_i\oplus \overline{x_{i+1}}x_{i+2}\) y i = x i x i + 1 ¯ x i + 2 and \(y_i=x_i\oplus \overline{x_{i+1}}x_{i+2}x_{i+3}\) y i = x i x i + 1 ¯ x i + 2 x i + 3 . The first one is the well-known \(\chi \) χ transformation used in SHA-3, Subterranean 2.0 and Rasta, while the second one is used in a recently proposed ZK-friendly hash function called Monolith. While the concrete formula of the inverse of \(\chi \) χ of arbitrary size has been given and proved by Liu et al. at JoC 2022, it remains unknown how to deduce such a formula and how to systematically study other SI transformations. In this work, we aim to provide a general method and flow to find the inverse of SI transformations, though it is still limited to some specific types and it may not work for all such transformations. However, such a general method does shed new insight on how to find their inverse, as we can apply this method to several different SI transformations, including the one used in Monolith. We expect that this method can be further generalized and applied to more SI transformations.