Deep Learning-Based Hash Function Cryptanalysis

Ongee Jeong, Inkyu Moon · 2024

This paper analyzes the strength of Message Digest Algorithm (MD5) by performing deep learning-based Encryption Emulation (EE) and Plaintext Recovery (PR) attacks. We convert randomly generated S12-bit arrays, messages, into 128-bit arrays, digests, with MD5 in different numbers of steps. Furthermore, two different structures of deep learning models, fully-connected neural network and Bidirectional Long Short-Term Memory (BiLSTM), are used in attacks and trained to analyze MD5 automatically. As a result, the BiLSTM shows better prediction accuracy than the fully-connected neural network. Moreover, the PR attack is more challenging than the EE attack.

Read the paper · More papers on PaperTik