AES Image Encryption Decryption

I am encrypting image using AES algorithm. But when i am reading the image after Encryption its showing me multiple images. Can anybody help me out to solve this problem.
Thanks alot.
JH

댓글 수: 3

Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh 2014년 7월 30일
What do you mean you see multiple images? Would you please post a picture with your question?
You can view anything as an image, just load them to MATLAB and show them using imshow. you can even do it with audio files,lol.
So you always gonna see something even if encrypted. Is that your problem?!
John
John 2014년 7월 30일
It is not clear what you mean by seeing multiple images. Could you clarify? What are the steps you took?
Also do be careful when encrypting images with AES. AES can be used in several modes of operation. And using the plain old AES mode, called Electronic Code Book (ECB) mode, to encrypt an image, is a bad idea. Use one of the more advanced modes of operation. AES is a block cipher. And simply using ECB mode to encrypt an image will show off the information in the cipher text when viewed with an image viewer.
Is that what you meant? You are seeing the image even after encryption?
asad ullah
asad ullah 2020년 2월 15일
yes exactly please send me the code if you have?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Encryption / Cryptography에 대해 자세히 알아보기

질문:

Jh
2014년 7월 30일

댓글:

2020년 2월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by