Mathematics & AI

Mathematics & AI

ISSN: 0000-0000 · EN

Mathematics & AI is an open-access, peer-reviewed journal at the intersection of mathematics and artificial intelligence. The journal publishes original research in mathematical foundations of AI, machine learning theory, optimization, statistical learning, neural network analysis, computational mat...
Article #1023
Issue MathAI 2026 Selected Papers Special Issue
Received 05 May 2026
Accepted 15 May 2026
Published 22 May 2026

Implementation of a Cryptographic Hash Function Based on a Deep Neural Network.

MathAI 2026 Selected Papers Special Issue
Published: May 22, 2026 Accepted: May 15, 2026 Received: May 5, 2026

Abstract

We present a two-layer construction for image hashing. First, a \emph{perceptual} binary code $c(x)$ is derived from a ResNet-18 embedding (after global average pooling, $d=512$) via a linear projection and sign quantization; optionally, a real-valued serialization of length $n=8ds$ bits is used. The code $c(x)$ enables fast approximate nearest-neighbor search: we empirically measure robustness to permissible transforms (low intra-BER), separability of unrelated pairs (inter distances near $n/2$), bit balance and weak inter-bit correlations, and we estimate a lower bound on the source min-entropy. Second, $c(x)$ serves as a noisy source for a \emph{fuzzy extractor} producing a reproducible secret $R$ and public data $P$; a cryptographic tag $T$ is then derived via KDF and HMAC/SHA-3. This preserves similarity search over $c(x)$ while assigning cryptographic guarantees (preimage/second-preimage/collision) to $T$, which reduce to the security of the underlying primitives given sufficient post-publication min-entropy $H_\infty(C,|,P)$. We discuss limitations of perceptual hashes (adversarial examples) and parameter selection ($n$, error-correction radius $t$, secret length $|R|$) driven by measured BER distributions and min-entropy estimates.

Cite this article

Iatsenko, D; Gorin, D Implementation of a Cryptographic Hash Function Based on a Deep Neural Network.. Mathematics & AI 2026, 1, 20. https://enigma.ist/j/mathematics-ai/1/2/20

Full Text (PDF)