Skip to main content
QUICK REVIEW

[Paper Review] One-way Hash Function Based on Neural Network

Shiguo Lian, Jinsheng Sun|ArXiv.org|Jul 27, 2007
Chaos-based Image/Signal EncryptionComputer Science6 references16 citations
TL;DR

This paper proposes a one-way hash function using a three-layer feedforward neural network, where the layers implement data confusion, diffusion, and compression respectively. The design achieves strong cryptographic properties—preimage resistance, high key and plaintext sensitivity, and resistance to birthday and meet-in-the-middle attacks—while enabling parallel computation due to neural network architecture, making it suitable for digital signatures and authentication.

ABSTRACT

A hash function is constructed based on a three-layer neural network. The three neuron-layers are used to realize data confusion, diffusion and compression respectively, and the multi-block hash mode is presented to support the plaintext with variable length. Theoretical analysis and experimental results show that this hash function is one-way, with high key sensitivity and plaintext sensitivity, and secure against birthday attacks or meet-in-the-middle attacks. Additionally, the neural network's property makes it practical to realize in a parallel way. These properties make it a suitable choice for data signature or authentication.

Motivation & Objective

  • To design a cryptographically secure one-way hash function using neural network principles.
  • To address the need for efficient, secure hash functions that support variable-length inputs.
  • To leverage the inherent parallelism of neural networks for practical hardware implementation.
  • To ensure high sensitivity to keys and input data, resisting common cryptanalytic attacks.
  • To provide a novel approach combining neural networks with cryptographic primitives for improved security properties.

Proposed method

  • A three-layer feedforward neural network is employed, with distinct roles: the first layer for data confusion, the second for diffusion, and the third for compression.
  • The network uses nonlinear activation functions to introduce confusion and ensure nonlinearity in the transformation.
  • A multi-block hash mode is introduced to support variable-length plaintext inputs by processing data in blocks.
  • The output of each block is fed forward, with the final output serving as the hash value.
  • The weight matrices of the neural network are treated as cryptographic keys, ensuring high key sensitivity.
  • The design exploits the parallel nature of neural network computation for efficient implementation on parallel architectures.

Experimental results

Research questions

  • RQ1Can a neural network architecture be effectively used to construct a cryptographically secure one-way hash function?
  • RQ2How well does the proposed neural network-based hash function resist common cryptographic attacks such as birthday and meet-in-the-middle attacks?
  • RQ3To what extent does the neural network's structure enhance key and plaintext sensitivity in the hash output?
  • RQ4Can the inherent parallelism of neural networks be exploited to improve the performance of hash functions?
  • RQ5How does the multi-block mode ensure security and correctness for variable-length inputs?

Key findings

  • The proposed hash function demonstrates strong one-wayness, making it computationally infeasible to reverse-engineer the input from the output.
  • The function exhibits high sensitivity to both the key and input plaintext, ensuring small input or key changes produce significantly different outputs.
  • Theoretical analysis and experimental results confirm resistance to birthday attacks and meet-in-the-middle attacks.
  • The neural network's parallel computation capability enables efficient implementation on parallel hardware platforms.
  • The multi-block mode successfully supports variable-length inputs while maintaining security and integrity.
  • The design achieves a balance between cryptographic strength and computational efficiency through neural network properties.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.