Performance analysis of modified rubik's cube algorithm for secured image security applications
PERFORMANCE ANALYSIS OF MODIFIED RUBIK'S CUBE ALGORITHM
DOI:
https://doi.org/10.56042/ijems.v31i5.11330Keywords:
Encryption, Decryption, Cryptography, Scrambling, Rubik's cube, Structural similarity index measure (SSIM)Abstract
In recent years, several encryption methods based on various encryption algorithms available in newer systems have been presented to safeguard digital photographs from attackers. This work provides a modified Rubik's cube image encryption technique based on the Rubik's cube principle. In the proposed framework, the modified Rubik's cube algorithm
repeatedly rotates each picture face to encrypt it. The proposed updated Rubik's cube algorithm consists of the following steps: Load the images: Load the image to encrypt, then convert to RGB; if the image is not already in RGB format, convert it. Create a Rubik's Cube: Represent the Rubik's cube by creating a random key, either as a 3D array or with a custom data structure, and then scrambling the cube to serve as the encryption mechanism. Use Encryption: Scramble the image data with the Rubik's cube algorithm. We used many iterative modulo 2 functions with left or right circular shifting operations to encrypt each row and column. Implement decryption by reversing the scrambling process. In the decryption for row and column, we used numerous iterative modulo 2 functions with left or right circular shifting. The reported and proposed algorithms are tested for robustness and strength using MATLAB tools.