EUVIMEDObjevte EUVIMED
Open access · CC BY 4.0

Adjusted NPCR and UACI Reference Values for STL Files Under IEEE-754 Validity Constraints

Tonislav Troev, Borislav Stoyanov

Mathematics · 2026-07-20 · 14 (14) · 2633

DOI: 10.3390/math14142633 ↗

At a glance

Journal article in Mathematics, published online on 2026-07-20. Written by Tonislav Troev and 1 co-authors. 21 references. The full text is freely available (open access, CC BY 4.0). Funded by: Konstantin Preslavsky University of Shumen.

AbstraktBibliografické údajeCiteRelated studies

Abstract (original language)

The Number of Pixel Change Rate (NPCR) and the Unified Average Changed Intensity (UACI) are the two canonical statistics for measuring a cipher’s sensitivity to plaintext and key perturbations. Their hypothesis tests compare the measured scores against reference values derived under the ideally encrypted image model, in which every ciphertext byte is an independent uniform draw from {0,…,255}. The resulting constants—99.609375% for NPCR and 33.463541667% for UACI—have been adopted unchanged for 3D-model encryption, yet no prior work has verified that the model holds for the formats involved. We show that this assumption fails for STL files, whose triangle records consist almost entirely of IEEE-754 single-precision floats: structural validity forbids non-finite values, so the uniform law over valid files has non-uniform, position-dependent byte marginals. We formalize this law as the valid-STL (VSTL) distribution and derive in closed form the exact NPCR and UACI reference means, their finite-sample variances, and the resulting critical values. Both references lie strictly below their uniform-byte counterparts—at 99.609190456% for NPCR and 33.455728563% for UACI—implying that tests based on the conventional constants become increasingly prone to falsely rejecting ideal ciphers as file size grows; this effect is observable for UACI at practical file sizes, whereas for NPCR it arises at larger scales. We therefore recommend validating STL ciphers against the format-specific references derived in this paper.

Funding

  • Konstantin Preslavsky University of Shumen

Cite

APA

Troev, T., & Stoyanov, B. (2026). Adjusted NPCR and UACI Reference Values for STL Files Under IEEE-754 Validity Constraints. Mathematics, 14(14), 2633. https://doi.org/10.3390/math14142633

Vancouver

Troev T, Stoyanov B. Adjusted NPCR and UACI Reference Values for STL Files Under IEEE-754 Validity Constraints. Mathematics. 2026;14(14):2633. doi:10.3390/math14142633

BibTeX
@article{Troev2026,
  author = {Troev, Tonislav and Stoyanov, Borislav},
  title = {Adjusted NPCR and UACI Reference Values for STL Files Under IEEE-754 Validity Constraints},
  journal = {Mathematics},
  year = {2026},
  volume = {14},
  number = {14},
  pages = {2633},
  doi = {10.3390/math14142633}
}
Start for free →