# Secure-Image-Encryption-Algorithm
A Secure Image Encryption Algorithm Based on Rubik's Cube Principle

##Examples

###Original Image
![alt tag](images/eiffel-tower.jpg?raw=true)

###Encrypted Image
![alt tag](images/eiffel-tower-enc.jpg?raw=true)

###Decrypted Image
![alt tag](images/eiffel-tower-dec.jpg?raw=true)

###Original Image
![alt tag](images/dandelion.jpg?raw=true)

###Encrypted Image
![alt tag](images/dandelion-enc.jpg?raw=true)

###Decrypted Image
![alt tag](images/dandelion-dec.jpg?raw=true)

###Original Image
![alt tag](images/black.jpg?raw=true)

###Encrypted Image
![alt tag](images/black-enc.jpg?raw=true)

###Decrypted Image
![alt tag](images/black-dec.jpg?raw=true)

# Secure-Image-Encryption-Algorithm
A Secure Image Encryption Algorithm Based on Rubik's Cube Principle

Note: The output is written as PNG files to achieve losslessness

##Examples

###Original Image
![alt tag](images/eiffel-tower.jpg?raw=true)

###Encrypted Image
![alt tag](images/eiffel-tower-enc.jpg?raw=true)

###Decrypted Image
![alt tag](images/eiffel-tower-dec.jpg?raw=true)

###Original Image
![alt tag](images/dandelion.jpg?raw=true)

###Encrypted Image
![alt tag](images/dandelion-enc.jpg?raw=true)

###Decrypted Image
![alt tag](images/dandelion-dec.jpg?raw=true)

###Original Image
![alt tag](images/black.jpg?raw=true)

###Encrypted Image
![alt tag](images/black-enc.jpg?raw=true)

###Decrypted Image
![alt tag](images/black-dec.jpg?raw=true)

Write image as png to achieve losslessness
Write image as png to achieve losslessness
