arrow
Return

A novel pythonic paradigm for image encryption using axis-aligned bounding boxes

delete2025-05-16
delete0
delete
OA
AI
A
Abdulbasid S. Banga
A
Akifa Abbas
D
Danish Ali
N
Nisreen Innab
A
Ala Saleh Alluhaidan *
N
Nadeem Iqbal
H
Hossam Diab
DOI:10.1038/s41598-025-89397-zdelete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
In the digital age, images permeate every facet of our lives, often carrying critical information for organizations, institutions, and even nation-states. Ensuring their security against unauthorized access is paramount. This research introduces a novel image encryption algorithm designed to safeguard the integrity and confidentiality of sensitive gray-scale digital images. The algorithm leverages the theory of axis-aligned bounding boxes, translating the input image into a 3D representation. Within this 3D space, two identically sized boxes are generated and assessed for overlap. If the boxes do not overlap, the pixels within them are swapped. This pixel-swapping process, guided by random numbers generated from a 5D multi-wing hyper-chaotic map, is repeated numerous times to infuse confusion into the image. To further enhance security, diffusion effects are introduced by performing an XoR operation between the confused image and random numbers provided by the piece-wise linear chaotic map. This study employs private key cryptography and utilizes four gray-scale images to validate the feasibility and effectiveness of the proposed method. Simulation has been carried out in the Pythonic ecosystem. So, the algorithms presented in this study are designed to closely resemble Python code. Comprehensive validation metrics attest to the robustness of the cipher, achieving an information entropy of 7.99985 and a computational speed of 0.3987 seconds. These results underscore the potential of this encryption approach for practical, real-world applications. These applications span military, diplomacy & government, commerce, showbiz, industry, and social life etc.
Keywords:
S-Box
Non-linearity
Chaotic map
Random numbers
Wireless communication security
Smart cities

Journal

Scientific Reports cover
Scientific Reports
IF:
3.9
Papers:
27.4W
Citations:
83.5W

Organization

U
Univ Lahore
Scholars:
269
Papers: 205
Citations: 68
A
AlMaarefa Univ
Scholars:
36
Papers: 67
Citations: 24
P
Princess Nourah Bint Abdulrahman Univ
Scholars:
360
Papers: 417
Citations: 103
B
bath spa univ
Scholars:
2
Papers: 1
Citations: 0
S
Saudi Electronic University
Scholars:
742
Papers: 890
Citations: 9
researcher View more organizations