How to encrypt and decrypt RGB image using logical XOR operation?

9 次查看(过去 30 天)
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.

回答(1 个)

Walter Roberson
Walter Roberson 2015-6-6
EncryptedImage = bitxor(FirstImage, SecondImage);

类别

Help CenterFile Exchange 中查找有关 Encryption / Cryptography 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by