Image-Encryption-Based-on-Rubiks-Cube

This is a novel image encryption algorithm based on Rubik's cube principle. The original image is scrambled using the principle of Rubik's cube. Then, XOR operator is applied to rows and columns of the scrambled image using two secret keys. Finally, the experimental results and security analysis show that the proposed image encryption scheme not only can achieve good encryption and perfect hiding ability but also can resist exhaustive attack, statistical attack, and differential attack.

Setup

  1. Clone this repo git clone https://github.com/sahibjotsingh/Image-Encryption-Based-on-Rubiks-Cube

  2. Install numpy and pillow.

Source

https://www.hindawi.com/journals/jece/2012/173931/