How to encrypt and decrypt RGB image using logical XOR operation?
Show older comments
My aim is to encrypt an RGB image by performing XOR with another image I to generate a share S.Then during decryption should perform XOR with the generated share S and the image I to obtain the RGB image back.Can you please suggest any method.Can anyone help please.
Answers (1)
Walter Roberson
on 6 Jun 2015
EncryptedImage = bitxor(FirstImage, SecondImage);
1 Comment
Abubakar Abba
on 2 Aug 2021
Dr. Walter, What about Decrypting it back?
Categories
Find more on Encryption / Cryptography in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!