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 个评论

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?!
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?
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