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

조회 수: 7 (최근 30일)
Anushka
Anushka 2015년 6월 6일
댓글: Abubakar Abba 2021년 8월 2일
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