{"title":"使用轴对齐边界框的图像加密的新颖python范式。","authors":"Abdulbasid Banga, Akifa Abbas, Danish Ali, Nisreen Innab, Ala Saleh Alluhaidan, Nadeem Iqbal, Hossam Diab","doi":"10.1038/s41598-025-89397-z","DOIUrl":null,"url":null,"abstract":"<p><p>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.</p>","PeriodicalId":21811,"journal":{"name":"Scientific Reports","volume":"15 1","pages":"17076"},"PeriodicalIF":3.9000,"publicationDate":"2025-05-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC12084594/pdf/","citationCount":"0","resultStr":"{\"title\":\"A novel pythonic paradigm for image encryption using axis-aligned bounding boxes.\",\"authors\":\"Abdulbasid Banga, Akifa Abbas, Danish Ali, Nisreen Innab, Ala Saleh Alluhaidan, Nadeem Iqbal, Hossam Diab\",\"doi\":\"10.1038/s41598-025-89397-z\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p><p>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.</p>\",\"PeriodicalId\":21811,\"journal\":{\"name\":\"Scientific Reports\",\"volume\":\"15 1\",\"pages\":\"17076\"},\"PeriodicalIF\":3.9000,\"publicationDate\":\"2025-05-16\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC12084594/pdf/\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Scientific Reports\",\"FirstCategoryId\":\"103\",\"ListUrlMain\":\"https://doi.org/10.1038/s41598-025-89397-z\",\"RegionNum\":2,\"RegionCategory\":\"综合性期刊\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"MULTIDISCIPLINARY SCIENCES\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Scientific Reports","FirstCategoryId":"103","ListUrlMain":"https://doi.org/10.1038/s41598-025-89397-z","RegionNum":2,"RegionCategory":"综合性期刊","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"MULTIDISCIPLINARY SCIENCES","Score":null,"Total":0}
A novel pythonic paradigm for image encryption using axis-aligned bounding boxes.
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.
期刊介绍:
We publish original research from all areas of the natural sciences, psychology, medicine and engineering. You can learn more about what we publish by browsing our specific scientific subject areas below or explore Scientific Reports by browsing all articles and collections.
Scientific Reports has a 2-year impact factor: 4.380 (2021), and is the 6th most-cited journal in the world, with more than 540,000 citations in 2020 (Clarivate Analytics, 2021).
•Engineering
Engineering covers all aspects of engineering, technology, and applied science. It plays a crucial role in the development of technologies to address some of the world''s biggest challenges, helping to save lives and improve the way we live.
•Physical sciences
Physical sciences are those academic disciplines that aim to uncover the underlying laws of nature — often written in the language of mathematics. It is a collective term for areas of study including astronomy, chemistry, materials science and physics.
•Earth and environmental sciences
Earth and environmental sciences cover all aspects of Earth and planetary science and broadly encompass solid Earth processes, surface and atmospheric dynamics, Earth system history, climate and climate change, marine and freshwater systems, and ecology. It also considers the interactions between humans and these systems.
•Biological sciences
Biological sciences encompass all the divisions of natural sciences examining various aspects of vital processes. The concept includes anatomy, physiology, cell biology, biochemistry and biophysics, and covers all organisms from microorganisms, animals to plants.
•Health sciences
The health sciences study health, disease and healthcare. This field of study aims to develop knowledge, interventions and technology for use in healthcare to improve the treatment of patients.