filmov
tv
Image Encryption and Decryption using Python Language - Dhruv Pawar

Показать описание
In this video I am showing how to encrypt and decrypt the image using Python Language.
Encryption :
It is nothing but a simple process in which we convert our data or information into secrete code to prevent it from unauthorized access and keep it private and secure.
First, we will select an image, and then we will convert that image into a byte array due to which the image data will be totally converted into numeric form, and then we can easily apply the XOR operation on it. Now, whenever we will apply the XOR function on each value of the byte array then the data will be changed due to which we will be unable to access it. But we should remember one thing that here our encryption key plays a very important role without that key we can not decrypt our image. It acts as a password to decrypt it.
Decryption:
It is nothing but a process of converting our encrypted data into a readable form. Here we will again apply the same XOR operation on an encrypted image to decrypt it. But always remember that our encryption key and decryption key must be the same.
:- Dhruv Pawar
Encryption :
It is nothing but a simple process in which we convert our data or information into secrete code to prevent it from unauthorized access and keep it private and secure.
First, we will select an image, and then we will convert that image into a byte array due to which the image data will be totally converted into numeric form, and then we can easily apply the XOR operation on it. Now, whenever we will apply the XOR function on each value of the byte array then the data will be changed due to which we will be unable to access it. But we should remember one thing that here our encryption key plays a very important role without that key we can not decrypt our image. It acts as a password to decrypt it.
Decryption:
It is nothing but a process of converting our encrypted data into a readable form. Here we will again apply the same XOR operation on an encrypted image to decrypt it. But always remember that our encryption key and decryption key must be the same.
:- Dhruv Pawar