Machine learning for cryptanalysis

Lightweight cryptography involves cryptography subject to constraints such as area and power consumption. In 2019, NIST organised a currently ongoing competition for lightweight authenticated encryption. This competition, currently in its final stage, has narrowed down the initial 57 submissions...

Full description

Saved in:
Bibliographic Details
Main Author: Yang, Allen Siwei
Other Authors: Thomas Peyrin
Format: Final Year Project
Language:English
Published: Nanyang Technological University 2022
Subjects:
Online Access:https://hdl.handle.net/10356/156805
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Nanyang Technological University
Language: English
id sg-ntu-dr.10356-156805
record_format dspace
spelling sg-ntu-dr.10356-1568052023-02-28T23:14:50Z Machine learning for cryptanalysis Yang, Allen Siwei Thomas Peyrin School of Physical and Mathematical Sciences thomas.peyrin@ntu.edu.sg Science::Mathematics::Discrete mathematics::Cryptography Science::Mathematics::Applied mathematics::Quantitative methods Lightweight cryptography involves cryptography subject to constraints such as area and power consumption. In 2019, NIST organised a currently ongoing competition for lightweight authenticated encryption. This competition, currently in its final stage, has narrowed down the initial 57 submissions to 10 finalists, of which includes the cipher known as ASCON. Concurrent with this was a research paper published by Gohr in 2019. Here, it was shown that it was possible to apply deep learning to cryptanalysis. More specifically, it was possible to design a neural distinguisher for the Speck 32/64 cipher, where for a specified input difference, it was possible to distinguish between ciphertext pairs that had this input difference and a random one via classification. In this study, we provide an amalgamation of these two advances. Here, we first attempt to apply Gohr’s neural network architecture to the round function of the ASCON cipher. Following this, we attempt to improve on the architecture in hopes of greater accuracy. The primary result found was that Gohr’s network architecture had the ability to learn well up to 3.5 rounds of the ASCON round function. Following this, we were able to provide modifications for marginal improvement in accuracy of the 4 round case. Keywords - cryptanalysis, deep learning, lightweight cryptography Bachelor of Science in Mathematical Sciences 2022-04-24T13:46:46Z 2022-04-24T13:46:46Z 2022 Final Year Project (FYP) Yang, A. S. (2022). Machine learning for cryptanalysis. Final Year Project (FYP), Nanyang Technological University, Singapore. https://hdl.handle.net/10356/156805 https://hdl.handle.net/10356/156805 en application/pdf Nanyang Technological University
institution Nanyang Technological University
building NTU Library
continent Asia
country Singapore
Singapore
content_provider NTU Library
collection DR-NTU
language English
topic Science::Mathematics::Discrete mathematics::Cryptography
Science::Mathematics::Applied mathematics::Quantitative methods
spellingShingle Science::Mathematics::Discrete mathematics::Cryptography
Science::Mathematics::Applied mathematics::Quantitative methods
Yang, Allen Siwei
Machine learning for cryptanalysis
description Lightweight cryptography involves cryptography subject to constraints such as area and power consumption. In 2019, NIST organised a currently ongoing competition for lightweight authenticated encryption. This competition, currently in its final stage, has narrowed down the initial 57 submissions to 10 finalists, of which includes the cipher known as ASCON. Concurrent with this was a research paper published by Gohr in 2019. Here, it was shown that it was possible to apply deep learning to cryptanalysis. More specifically, it was possible to design a neural distinguisher for the Speck 32/64 cipher, where for a specified input difference, it was possible to distinguish between ciphertext pairs that had this input difference and a random one via classification. In this study, we provide an amalgamation of these two advances. Here, we first attempt to apply Gohr’s neural network architecture to the round function of the ASCON cipher. Following this, we attempt to improve on the architecture in hopes of greater accuracy. The primary result found was that Gohr’s network architecture had the ability to learn well up to 3.5 rounds of the ASCON round function. Following this, we were able to provide modifications for marginal improvement in accuracy of the 4 round case. Keywords - cryptanalysis, deep learning, lightweight cryptography
author2 Thomas Peyrin
author_facet Thomas Peyrin
Yang, Allen Siwei
format Final Year Project
author Yang, Allen Siwei
author_sort Yang, Allen Siwei
title Machine learning for cryptanalysis
title_short Machine learning for cryptanalysis
title_full Machine learning for cryptanalysis
title_fullStr Machine learning for cryptanalysis
title_full_unstemmed Machine learning for cryptanalysis
title_sort machine learning for cryptanalysis
publisher Nanyang Technological University
publishDate 2022
url https://hdl.handle.net/10356/156805
_version_ 1759855556416241664