Skip to content

we choose logistic_map as chaotic map & done diffusion by XORing key_value & pixel_value for encryption.

License

Notifications You must be signed in to change notification settings

parth721/chaos-based_cryptography

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

chaos_based_cryptography


It's an cryptographic technique for securely transfering images over internet or storing images on clouds etc.

Its an 3-steps procedure to encrypt your image :
1. selecting a chaotic map
2. confusion of image
3. diffusion of image

first we select the chaotic map & generate a key-array which is equal to the total number of pixels we have in the image. Now keep it aside.

move to the second-step which is shuffling the image. since we are using an RGB-image, therefore it has 3D-matrix. so we first convert the 3D-matrix into 1D. Now apply the python function to randomize the indices of the 1D-array. Due to which the image get shuffled. then bring back to 3D-matrix & print it out

move to the third-step which is diffusion. For diffusion do XOR operation with key-array elements & pixels of the image. Due to which the pixel-intensity spread across the image. nobody can guess the real image.

for decryption again do XOR with the encrypted image and then convert to 1D-array & sort the indices. covert 1D-array to 3D-matrix.


chaos_based_cryptography.mp4

About

we choose logistic_map as chaotic map & done diffusion by XORing key_value & pixel_value for encryption.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published