•  
  •  
 

Corresponding Author

Adnan H. Al-Helali

Authors ORCID

Adnan H. Al-Helali: https://orcid.org/0000-0002-7297-8716

Document Type

Article

Keywords

Image encryption, Substitution box, Memetic algorithm, Chaotic map, Quasigroup, Ablation study

Abstract

Entropy, NPCR and UACI are the usual evidence for chaos-based image ciphers, yet they saturate for almost any design. This paper presents COSMIC (Colour Optimised S-box Multi-phase Image Cipher), a three-phase colour image cipher. Phase 1 applies channel-wise preprocessing with invertible quasigroup mixing. Phase 2 is a bidirectional chained diffusion in which each sweep is bijective in the chaining variable. Phase 3 is a complemented-mask XOR block transformation with a bijective chaining value. The substitution box has nonlinearity 104 and is characterised directly. Keystreams come from a perturbed logistic–Ikeda generator seeded through HKDF from a keyed HMAC-SHA-512 tag of the image. On five colour images the cipher gives entropy and adjacent-pixel correlation at their ideal and expected values, plaintext-coupled NPCR and UACI at their theoretical expectations, and a fixed-keystream NPCR that separates cipher variants the conventional indicators cannot. It passes the NIST SP 800-22 suite on natural-image sequences; on black-frame sequences one sub-test falls below its proportion bound. Decryption is lossless and authenticated by the tag, and a corrupted ciphertext byte damages a bounded number of pixels, which is the cost of the chained design. The evidence rests on an ablation study with three findings. First, under an equal budget and a common cooling schedule the memetic loop is not significantly better than local search. Second, chaotic seeding and quasigroup guidance give no significant advantage over random seeding or over their removal. Third, most successes occur in the initial intensification, so recombination is rarely exercised. The security claims are limited to these measurements, and the construction has no formal security proof. A build without fused multiply-add contraction did not decrypt a ciphertext produced by the reference build, so bit-exact reproduction depends on the compiler and the processor, which is the main practical limitation of the scheme.

Share

COinS