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

7 vues (au cours des 30 derniers jours)
Anushka
Anushka le 6 Juin 2015
Commenté : Abubakar Abba le 2 Août 2021
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.

Réponses (1)

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

Catégories

En savoir plus sur Encryption / Cryptography dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by